OSDN Git Service

ffmpeg: dont copy creation_time as the destination file is not created at that time
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 28 Jun 2012 15:09:36 +0000 (17:09 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 28 Jun 2012 15:09:36 +0000 (17:09 +0200)
Fixes Ticket1439

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c

index f6ce70b..aa16e05 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -5242,6 +5242,7 @@ loop_end:
                      AV_DICT_DONT_OVERWRITE);
         if(o->recording_time != INT64_MAX)
             av_dict_set(&oc->metadata, "duration", NULL, 0);
+        av_dict_set(&oc->metadata, "creation_time", NULL, 0);
     }
     if (!o->metadata_streams_manual)
         for (i = output_files[nb_output_files - 1]->ost_index; i < nb_output_streams; i++) {