提交 1261acd6 编写于 作者: X Xinzheng Zhang

ff_ffplay: merge:1bd9fb6de59bb96144ece914643d2d205818168d

	ffplay: Fix usage of private lavfi API
Reviewed-by: NMichael Niedermayer <michael@niedermayer.cc>
上级 b91633da
......@@ -2271,7 +2271,7 @@ static int stream_component_open(FFPlayer *ffp, int stream_index)
SDL_UnlockMutex(ffp->af_mutex);
link = is->out_audio_filter->inputs[0];
sample_rate = link->sample_rate;
nb_channels = link->channels;
nb_channels = avfilter_link_get_channels(link);
channel_layout = link->channel_layout;
}
#else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册