Commit 45ac4bb737 for ffmpeg

commit 45ac4bb737780b5f93e1300896243efded3cb926
Author: Niklas Haas <git@haasn.dev>
Date:   Fri Oct 2 16:31:57 2026 +0200

    avformat/dump: add AV_STREAM_GROUP_PARAMS_GAIN_MAP

    These were introduced by caa5824750, but the corresponding printout was
    never added; leading to them being printed with a bare label.

    Signed-off-by: Niklas Haas <git@haasn.dev>

diff --git a/libavformat/dump.c b/libavformat/dump.c
index f4a1ef97c4..34f93e24a4 100644
--- a/libavformat/dump.c
+++ b/libavformat/dump.c
@@ -868,6 +868,18 @@ static void dump_stream_group(const AVFormatContext *ic, uint8_t *printed,
         }
         break;
     }
+    case AV_STREAM_GROUP_PARAMS_GAIN_MAP: {
+        av_log(NULL, AV_LOG_INFO, " Gain Map:\n");
+        for (int i = 0; i < stg->nb_entries; i++) {
+            const AVStreamGroupEntry *entry = stg->entries[i];
+            if (entry->type != AV_STREAM_GROUP_ENTRY_STREAM)
+                continue;
+            const AVStream *st = entry->stream;
+            dump_stream_format(ic, st->index, i, index, is_output, AV_LOG_INFO);
+            printed[st->index] = 1;
+        }
+        break;
+    }
     default:
         break;
     }