git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b35ccb1
)
Fixed rawvideo packetizer.
author
Laurent Aimar
<fenrir@videolan.org>
Wed, 19 Nov 2008 20:21:55 +0000
(21:21 +0100)
committer
Laurent Aimar
<fenrir@videolan.org>
Wed, 19 Nov 2008 20:21:55 +0000
(21:21 +0100)
modules/codec/rawvideo.c
patch
|
blob
|
history
diff --git
a/modules/codec/rawvideo.c
b/modules/codec/rawvideo.c
index
f0ed573
..
e79e2ed
100644
(file)
--- a/
modules/codec/rawvideo.c
+++ b/
modules/codec/rawvideo.c
@@
-213,7
+213,8
@@
static void *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
p_block = *pp_block;
- if( (!p_block->i_pts || !p_block->i_dts) && !date_Get( &p_sys->pts ) )
+
+ if( !p_block->i_pts && !p_block->i_dts && !date_Get( &p_sys->pts ) )
{
/* We've just started the stream, wait for the first PTS. */
block_Release( p_block );