diff options
author | Martin Storsjö <martin@martin.st> | 2012-06-30 01:28:02 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-06-30 15:44:10 +0300 |
commit | d3ed1c9571c24d33fc485fba01bc2d6ed4de18b1 (patch) | |
tree | cd4ff36e5977961e2171b4f133ceced1f7dc76be /avplay.c | |
parent | 5a608a239b8193a420df7b1579999b71aa12f4a8 (diff) | |
download | ffmpeg-d3ed1c9571c24d33fc485fba01bc2d6ed4de18b1.tar.gz |
cmdutils: Pass the actual chosen encoder to filter_codec_opts
This allows passing the right options to encoders when there's more
than one encoder for a certain codec id.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'avplay.c')
-rw-r--r-- | avplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2081,7 +2081,7 @@ static int stream_component_open(VideoState *is, int stream_index) return -1; avctx = ic->streams[stream_index]->codec; - opts = filter_codec_opts(codec_opts, avctx->codec_id, ic, ic->streams[stream_index]); + opts = filter_codec_opts(codec_opts, avctx->codec_id, ic, ic->streams[stream_index], NULL); codec = avcodec_find_decoder(avctx->codec_id); avctx->debug_mv = debug_mv; |