summaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3dec.c
diff options
context:
space:
mode:
authorTim Walker <tdskywalker@gmail.com>2016-04-01 03:22:48 +0200
committerLuca Barbato <lu_zero@gentoo.org>2016-04-02 14:06:40 +0200
commit33275a0de05e9bc321f2537a2a67921fab81624f (patch)
tree2e62afd85c83bc89a43eca9f26709b2b5aeb26ee /libavcodec/ac3dec.c
parentfef2147b7a689b80d716c3edb9d4a18904865275 (diff)
downloadffmpeg-streaming-33275a0de05e9bc321f2537a2a67921fab81624f.zip
ffmpeg-streaming-33275a0de05e9bc321f2537a2a67921fab81624f.tar.gz
ac3dec: change logging of skipped E-AC-3 substreams.
Change log level from warning to debug: the E-AC-3 "core" substream can be successfully decoded without the additional and dependent substreams, and their presence is already indicated via avpriv_request_sample in ff_eac3_parse_header. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/ac3dec.c')
-rw-r--r--libavcodec/ac3dec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c
index 97ce287..9b08638 100644
--- a/libavcodec/ac3dec.c
+++ b/libavcodec/ac3dec.c
@@ -1347,8 +1347,9 @@ static int ac3_decode_frame(AVCodecContext * avctx, void *data,
/* skip frame if CRC is ok. otherwise use error concealment. */
/* TODO: add support for substreams and dependent frames */
if (s->frame_type == EAC3_FRAME_TYPE_DEPENDENT || s->substreamid) {
- av_log(avctx, AV_LOG_WARNING, "unsupported frame type : "
- "skipping frame\n");
+ av_log(avctx, AV_LOG_DEBUG,
+ "unsupported frame type %d: skipping frame\n",
+ s->frame_type);
*got_frame_ptr = 0;
return buf_size;
} else {
OpenPOWER on IntegriCloud