Commit fc8e7ccb authored by bcoudurier's avatar bcoudurier

set pts and dts when only pts is present, according to specs

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16734 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 673edb3f
......@@ -888,7 +888,7 @@ static void mpegts_push_data(MpegTSFilter *filter,
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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment