]> git.sesse.net Git - ffmpeg/commitdiff
mxfdec: set AVFMT_SEEK_TO_PTS demuxer flag
authorMarton Balint <cus@passwd.hu>
Sun, 9 Aug 2015 18:32:02 +0000 (20:32 +0200)
committerTomas Härdin <tomas.hardin@codemill.se>
Fri, 14 Aug 2015 12:20:25 +0000 (14:20 +0200)
Since 53f2ef2c4afb1d49a679dea9163cb0e4671f3117 seeking is done using PTS.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/mxfdec.c

index 2d921dbd68e59fb849fd65bdf5f00b5a5f468b5d..573497692e019ad87f4a70eeb9db6df4d54d89ee 100644 (file)
@@ -3210,6 +3210,7 @@ static int mxf_read_seek(AVFormatContext *s, int stream_index, int64_t sample_ti
 AVInputFormat ff_mxf_demuxer = {
     .name           = "mxf",
     .long_name      = NULL_IF_CONFIG_SMALL("MXF (Material eXchange Format)"),
+    .flags          = AVFMT_SEEK_TO_PTS,
     .priv_data_size = sizeof(MXFContext),
     .read_probe     = mxf_probe,
     .read_header    = mxf_read_header,