[FFmpeg-devel] [PATCH 2/5] concatdec: calculate duration early if outpoint is known

Marton Balint cus at passwd.hu
Wed Nov 25 01:10:26 CET 2015


On Sun, 22 Nov 2015, Nicolas George wrote:

> Sorry, missed this reply.
>
>> In read_header, duration is only set if both inpoint and outpoint is set by
>> the user.
>>
>> In open_file duration is set if outpoint is set by the user which is the
>> superset of the first case.
>
> Ok, I think I was confused by the similar inpoint / file_inpoint field
> names. At some point, renaming the second one to maybe ts_origin, or maybe
> ts_delta (changing the logic a bit) would probably a good idea.

Agreed...

>
> In the meantime, no objection to this patch.

Ok, thanks, applied.

Regards,
Marton


More information about the ffmpeg-devel mailing list