ffmpeg | branch: release/6.0 | Marton Balint <c...@passwd.hu> | Mon Mar 18 21:07:20 2024 +0100| [87f8335bdfe9ca7e4509e2ed6e4e0b95ee36eb6b] | committer: Marton Balint
fftools/ffplay: use correct buffersink channel layout parameters Regression since 0995e1f1b31f6e937a1b527407ed3e850f138098. Signed-off-by: Marton Balint <c...@passwd.hu> (cherry picked from commit 7251f909721a570726775acf61b2b9c28a950c76) > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=87f8335bdfe9ca7e4509e2ed6e4e0b95ee36eb6b --- fftools/ffplay.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fftools/ffplay.c b/fftools/ffplay.c index d6479aef5f..742e4296a6 100644 --- a/fftools/ffplay.c +++ b/fftools/ffplay.c @@ -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; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".