From cd02463dc6c6938e7a6a39850b5d751ddda23d54 Mon Sep 17 00:00:00 2001 From: Romain Beauxis Date: Mon, 11 May 2026 09:55:41 -0500 Subject: [PATCH] lavf: wire id3v2 fdebug option Signed-off-by: Romain Beauxis --- doc/formats.texi | 3 +++ libavformat/options_table.h | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/formats.texi b/doc/formats.texi index 876a9e92b3..0722e3f512 100644 --- a/doc/formats.texi +++ b/doc/formats.texi @@ -100,6 +100,9 @@ Print specific debug info. Possible values: @table @samp @item ts +Print timestamp information. +@item id3v2 +Print ID3v2 frame data when demuxing files containing ID3v2 tags. @end table @item max_delay @var{integer} (@emph{input/output}) diff --git a/libavformat/options_table.h b/libavformat/options_table.h index 5047b5ce50..bedec2a8a9 100644 --- a/libavformat/options_table.h +++ b/libavformat/options_table.h @@ -58,7 +58,8 @@ static const AVOption avformat_options[] = { {"indexmem", "max memory used for timestamp index (per stream)", OFFSET(max_index_size), AV_OPT_TYPE_INT, {.i64 = 1<<20 }, 0, INT_MAX, D}, {"rtbufsize", "max memory used for buffering real-time frames", OFFSET(max_picture_buffer), AV_OPT_TYPE_INT, {.i64 = 3041280 }, 0, INT_MAX, D}, /* defaults to 1s of 15fps 352x288 YUYV422 video */ {"fdebug", "print specific debug info", OFFSET(debug), AV_OPT_TYPE_FLAGS, {.i64 = DEFAULT }, 0, INT_MAX, E|D, .unit = "fdebug"}, -{"ts", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = FF_FDEBUG_TS }, INT_MIN, INT_MAX, E|D, .unit = "fdebug"}, +{"ts", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = AV_FDEBUG_TS }, INT_MIN, INT_MAX, E|D, .unit = "fdebug"}, +{"id3v2", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = AV_FDEBUG_ID3V2 }, INT_MIN, INT_MAX, E|D, .unit = "fdebug"}, {"max_delay", "maximum muxing or demuxing delay in microseconds", OFFSET(max_delay), AV_OPT_TYPE_INT, {.i64 = -1 }, -1, INT_MAX, E|D}, {"start_time_realtime", "wall-clock time when stream begins (PTS==0)", OFFSET(start_time_realtime), AV_OPT_TYPE_INT64, {.i64 = AV_NOPTS_VALUE}, INT64_MIN, (double)INT64_MAX, E}, {"fpsprobesize", "number of frames used to probe fps", OFFSET(fps_probe_size), AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX-1, D},