[FFmpeg-devel] [PATCH] mxfdec: set AVFMT_SEEK_TO_PTS demuxer flag

tim nicholson nichot20 at yahoo.com
Tue Aug 25 08:58:48 CEST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14/08/15 13:27, Tomas Härdin wrote:
> On Mon, 2015-08-10 at 10:14 +0200, Tomas Härdin wrote:
>> On Sun, 2015-08-09 at 20:32 +0200, Marton Balint wrote:
>>> Since 53f2ef2c4afb1d49a679dea9163cb0e4671f3117 seeking is done using
 PTS.
>>>
>>> Signed-off-by: Marton Balint <cus at passwd.hu>
>>> ---
>>>  libavformat/mxfdec.c | 1 +
>>>  1 file changed, 1 insertion(+)
>>>
>>> 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, i
nt 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,
>>
>> Yeah, I seem to recall this when swearing at the seek code in mxfdec
>> some years ago. I'll wait a few days to see if any other MXF guys hav
e
>> something to say here or on IRC, then I suppose I'll push
>>

Only the seek code you swear at?

>> /Tomas
> 
> Pushed. Hopefully everything worked alright
> 

Just back from leave, so time will tell....

> /Tomas
> [..]

- -- 
Tim.
Key Fingerprint 38CF DB09 3ED0 F607 8B67 6CED 0C0B FC44 8B0B FC83
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJV3BIoAAoJEAwL/ESLC/yD4jgH/35vOcJkv8daPCvNiXc+p8HD
DJc3YBFINl3wY8HohQJWcjYTfma8DVJS4XPCIMqsYpnzPvWH+VBp5hYxQ1UwrRDY
trRjuMTtcfDp9kL3O1cGKHPDV0eyJXvoyR8gw1zpKdZsVE4In7VnQRLahj//2HFt
+tWcuPG+IhMrgyOMM5UH5rSd5doCQgkLC3iouX40NTmpzo5fGAdqH8+4qrMJSY6e
Uth3xK7hHRQqnbDEYNmKMOSeVasnwaxx26y2hCtVUaUypnyhH7lkY2ndfURg0pD3
80yCPI253cy1tbtsmRyph3z/BXTsa3xPUFIcdcKjpnQuv7pio/a+w3a1UqpE8PI=
=1mAZ
-----END PGP SIGNATURE-----


More information about the ffmpeg-devel mailing list