summaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2015-08-09 20:32:02 +0200
committerTomas Härdin <tomas.hardin@codemill.se>2015-08-14 14:20:25 +0200
commit95584ddac477fa09d055c5ed56b99f94e0eff89f (patch)
tree419425e20249797d72b08af4d2e3f84990c177fb /libavformat
parent012784052a3337c23118a462c0faf6f5b46849a4 (diff)
downloadffmpeg-streaming-95584ddac477fa09d055c5ed56b99f94e0eff89f.zip
ffmpeg-streaming-95584ddac477fa09d055c5ed56b99f94e0eff89f.tar.gz
mxfdec: set AVFMT_SEEK_TO_PTS demuxer flag
Since 53f2ef2c4afb1d49a679dea9163cb0e4671f3117 seeking is done using PTS. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mxfdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index 2d921db..5734976 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -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,
OpenPOWER on IntegriCloud