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:
868b85c
)
Fixed PCR origin in ogg.
author
Laurent Aimar
<fenrir@videolan.org>
Sun, 3 May 2009 18:46:17 +0000
(20:46 +0200)
committer
Laurent Aimar
<fenrir@videolan.org>
Sun, 3 May 2009 18:46:17 +0000
(20:46 +0200)
It avoids loosing the first packets (audio/video).
modules/demux/ogg.c
patch
|
blob
|
history
diff --git
a/modules/demux/ogg.c
b/modules/demux/ogg.c
index
acc8856
..
aa9f687
100644
(file)
--- a/
modules/demux/ogg.c
+++ b/
modules/demux/ogg.c
@@
-552,6
+552,7
@@
static void Ogg_UpdatePCR( logical_stream_t *p_stream,
/ p_stream->f_rate;
}
+ p_stream->i_pcr += 1;
p_stream->i_interpolated_pcr = p_stream->i_pcr;
}
else