From 2164b8471edc66f17650acf8846ed5f39c6c8ebc Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Wed, 3 Sep 2014 23:46:34 +1000 Subject: qtdemux: Silence some warnings for normal file contents --- gst/isomp4/qtdemux.c | 4 ++-- gst/isomp4/qtdemux_types.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index f2ea73b6c..ae1491e15 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -8239,8 +8239,8 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak) QT_UINT32 (stsd_data + offset + 28)); GST_LOG_OBJECT (qtdemux, "LPCM frames/packet: %d", QT_UINT32 (stsd_data + offset + 32)); - } else { - GST_WARNING_OBJECT (qtdemux, "unknown version %08x", version); + } else if (version != 0x00000) { + GST_WARNING_OBJECT (qtdemux, "unknown audio STSD version %08x", version); } stream->caps = qtdemux_audio_caps (qtdemux, stream, fourcc, diff --git a/gst/isomp4/qtdemux_types.c b/gst/isomp4/qtdemux_types.c index 8988af025..a47d5ae88 100644 --- a/gst/isomp4/qtdemux_types.c +++ b/gst/isomp4/qtdemux_types.c @@ -180,6 +180,8 @@ static const QtNodeType qt_node_types[] = { {FOURCC_hvcC, "HEVC codec configuration container", 0}, {FOURCC_tfdt, "Track fragment decode time", 0, qtdemux_dump_tfdt}, {FOURCC_chap, "Chapter Reference"}, + {FOURCC_btrt, "Bitrate information", 0}, + {FOURCC_frma, "Audio codec format", 0}, {0, "unknown", 0,}, }; -- cgit v1.2.3