[vlc-devel] commit: Fixed PCR origin in ogg. (Laurent Aimar )
git version control
git at videolan.org
Sun May 3 20:47:01 CEST 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun May 3 20:46:17 2009 +0200| [1b5c7c2f4c7832f008fdc6528fe26ceb5e8da65c] | committer: Laurent Aimar
Fixed PCR origin in ogg.
It avoids loosing the first packets (audio/video).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1b5c7c2f4c7832f008fdc6528fe26ceb5e8da65c
---
modules/demux/ogg.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index acc8856..aa9f687 100644
--- 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
More information about the vlc-devel
mailing list