[FFmpeg-devel] [PATCH 1/3] avformat/mux: add a format flag which ensure parsed and standardized creation time
Marton Balint
cus at passwd.hu
Thu Feb 25 23:33:00 CET 2016
On Thu, 25 Feb 2016, wm4 wrote:
> On Thu, 25 Feb 2016 02:11:00 +0100
> Marton Balint <cus at passwd.hu> wrote:
>
>> This can be used for formats which write all format metadata as string to
>> files, therefore non-standard creation times such as 'now' will be parsed.
>>
>> The standardized creation time is UTC ISO 8601 with microsecond precision.
>>
>> Signed-off-by: Marton Balint <cus at passwd.hu>
>> ---
>> +#define AVFMT_NEED_PARSED_CREATION_TIME 0x80000 /**< Format needs pre-parsed standardized creation time */
> Wouldn't it be better to make this a function, and adding a function
> call to the muxers which need this, instead of adding yet another flag
> and adding that flag to the muxers?
Well, I am not sure, I have no strong argument for or against it. If that
is what you and other people prefer, obviously I can change the patch.
Regards,
Marton
More information about the ffmpeg-devel
mailing list