Merge commit 'df0229a7caa124dcfb84c34b48d316744c467311'
[ffmpeg.git] / ffmpeg.c
index f1e6834..448a9e2 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2424,6 +2424,8 @@ static int transcode_init(void)
 
             if (ost->st->codec->me_threshold)
                 input_streams[ost->source_index]->st->codec->debug |= FF_DEBUG_MV;
+        } else {
+            av_opt_set_dict(ost->st->codec, &ost->opts);
         }
     }