[FFmpeg-cvslog] avformat/m4vdec: mark as possibly containing discontinuities
Michael Niedermayer
git at videolan.org
Fri Oct 17 13:13:22 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Oct 17 12:37:40 2014 +0200| [1aed82846cbcdd19cab9d2eea0f7aaaa45fb674a] | committer: Michael Niedermayer
avformat/m4vdec: mark as possibly containing discontinuities
This will be needed for the resolution change mpeg4 test
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1aed82846cbcdd19cab9d2eea0f7aaaa45fb674a
---
libavformat/m4vdec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/m4vdec.c b/libavformat/m4vdec.c
index 117b765..d8ee530 100644
--- a/libavformat/m4vdec.c
+++ b/libavformat/m4vdec.c
@@ -56,5 +56,5 @@ static int mpeg4video_probe(AVProbeData *probe_packet)
return 0;
}
-FF_DEF_RAWVIDEO_DEMUXER(m4v, "raw MPEG-4 video", mpeg4video_probe, "m4v",
- AV_CODEC_ID_MPEG4)
+FF_DEF_RAWVIDEO_DEMUXER2(m4v, "raw MPEG-4 video", mpeg4video_probe, "m4v",
+ AV_CODEC_ID_MPEG4, AVFMT_GENERIC_INDEX | AVFMT_TS_DISCONT)
More information about the ffmpeg-cvslog
mailing list