mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-02-11 04:29:57 +00:00
fftools/ffplay: use correct buffersink channel layout parameters
Regression since0995e1f1b3. Signed-off-by: Marton Balint <cus@passwd.hu> (cherry picked from commit7251f90972)
This commit is contained in:
parent
c18115b413
commit
87f8335bdf
1 changed files with 2 additions and 0 deletions
|
|
@ -1998,6 +1998,8 @@ static int configure_audio_filters(VideoState *is, const char *afilters, int for
|
|||
goto end;
|
||||
|
||||
if (force_output_format) {
|
||||
av_bprint_clear(&bp);
|
||||
av_channel_layout_describe_bprint(&is->audio_tgt.ch_layout, &bp);
|
||||
sample_rates [0] = is->audio_tgt.freq;
|
||||
if ((ret = av_opt_set_int(filt_asink, "all_channel_counts", 0, AV_OPT_SEARCH_CHILDREN)) < 0)
|
||||
goto end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue