On 9/4/2022 8:30 PM, Andreas Rheinhardt wrote:
Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@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,

Should be ok, but i expect that eventually filters will support and start propagating custom layouts (after the old API is gone), so maybe using the layout name helpers is a better idea.

                  ref->nb_samples,
                  ref->sample_rate);
      }
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to