Commit e377208d authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: dont copy creation_time as the destination file is not created at that time

Fixes Ticket1439
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 782763ed
...@@ -5242,6 +5242,7 @@ loop_end: ...@@ -5242,6 +5242,7 @@ loop_end:
AV_DICT_DONT_OVERWRITE); AV_DICT_DONT_OVERWRITE);
if(o->recording_time != INT64_MAX) if(o->recording_time != INT64_MAX)
av_dict_set(&oc->metadata, "duration", NULL, 0); av_dict_set(&oc->metadata, "duration", NULL, 0);
av_dict_set(&oc->metadata, "creation_time", NULL, 0);
} }
if (!o->metadata_streams_manual) if (!o->metadata_streams_manual)
for (i = output_files[nb_output_files - 1]->ost_index; i < nb_output_streams; i++) { for (i = output_files[nb_output_files - 1]->ost_index; i < nb_output_streams; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment