1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

mxfdec: set AVFMT_SEEK_TO_PTS demuxer flag

Since 53f2ef2c4a seeking is done using PTS.

Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
Marton Balint
2015-08-09 20:32:02 +02:00
committed by Tomas Härdin
parent 012784052a
commit 95584ddac4

View File

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