[FFmpeg-cvslog] r16734 - trunk/libavformat/mpegts.c
bcoudurier
subversion
Fri Jan 23 23:16:31 CET 2009
Author: bcoudurier
Date: Fri Jan 23 23:16:31 2009
New Revision: 16734
Log:
set pts and dts when only pts is present, according to specs
Modified:
trunk/libavformat/mpegts.c
Modified: trunk/libavformat/mpegts.c
==============================================================================
--- trunk/libavformat/mpegts.c Fri Jan 23 21:57:12 2009 (r16733)
+++ trunk/libavformat/mpegts.c Fri Jan 23 23:16:31 2009 (r16734)
@@ -888,7 +888,7 @@ static void mpegts_push_data(MpegTSFilte
pes->pts = AV_NOPTS_VALUE;
pes->dts = AV_NOPTS_VALUE;
if ((flags & 0xc0) == 0x80) {
- pes->pts = get_pts(r);
+ pes->dts = pes->pts = get_pts(r);
r += 5;
} else if ((flags & 0xc0) == 0xc0) {
pes->pts = get_pts(r);
More information about the ffmpeg-cvslog
mailing list