[FFmpeg-devel] [PATCH] avfilter/avfilter: Don't use AVFrame.channel_layout
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Mon Sep 5 02:30:47 EEST 2022
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
libavfilter/avfilter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 965f5d0f63..6740339808 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -62,7 +62,7 @@ static void tlog_ref(void *ctx, AVFrame *ref, int end)
}
if (ref->nb_samples) {
ff_tlog(ctx, " cl:%"PRId64"d n:%d r:%d",
- ref->channel_layout,
+ ref->ch_layout.order == AV_CHANNEL_ORDER_NATIVE ? ref->ch_layout.u.mask : 0,
ref->nb_samples,
ref->sample_rate);
}
--
2.34.1
More information about the ffmpeg-devel
mailing list