Browse Source

mxfdec: set AVFMT_SEEK_TO_PTS demuxer flag

Since 53f2ef2c4a seeking is done using PTS.

Signed-off-by: Marton Balint <cus@passwd.hu>
tags/n2.8
Marton Balint Tomas Härdin 9 years ago
parent
commit
95584ddac4
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/mxfdec.c

+ 1
- 0
libavformat/mxfdec.c 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,


Loading…
Cancel
Save