summaryrefslogtreecommitdiff
path: root/avplay.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-06-30 01:28:02 +0300
committerMartin Storsjö <martin@martin.st>2012-06-30 15:44:10 +0300
commitd3ed1c9571c24d33fc485fba01bc2d6ed4de18b1 (patch)
treecd4ff36e5977961e2171b4f133ceced1f7dc76be /avplay.c
parent5a608a239b8193a420df7b1579999b71aa12f4a8 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avplay.c b/avplay.c
index 6acb6c10e8..71844c274d 100644
--- a/avplay.c
+++ b/avplay.c
@@ -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;