Signed-off-by: softworkz <softwo...@hotmail.com> --- doc/ffprobe.xsd | 3 +++ fftools/ffprobe.c | 4 ++++ 2 files changed, 7 insertions(+)
diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd index b65e54dbef..d0cddd6130 100644 --- a/doc/ffprobe.xsd +++ b/doc/ffprobe.xsd @@ -258,6 +258,9 @@ <xsd:attribute name="nb_frames" type="xsd:int"/> <xsd:attribute name="nb_read_frames" type="xsd:int"/> <xsd:attribute name="nb_read_packets" type="xsd:int"/> + + <!-- attachment attributes --> + <xsd:attribute name="attachment_size" type="xsd:int"/> </xsd:complexType> <xsd:complexType name="programType"> diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index 90e895bbf9..8a08bb51af 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -2727,6 +2727,10 @@ static int show_stream(WriterContext *w, AVFormatContext *fmt_ctx, int stream_id else print_str_opt("height", "N/A"); break; + + case AVMEDIA_TYPE_ATTACHMENT: + if (par->extradata_size) + print_int("attachment_size", par->extradata_size); } if (dec_ctx && dec_ctx->codec && dec_ctx->codec->priv_class && show_private_data) { -- 2.17.1 _______________________________________________ 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".