summaryrefslogtreecommitdiff
path: root/libavcodec/h264_sei.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-10-22 14:13:28 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-10-30 12:46:56 +0100
commit8487987b87a252963b27b6adfd82887ea5933918 (patch)
treefb5fe194b83f5ff489734cd1ae8b37cbac56a03c /libavcodec/h264_sei.c
parent1720791e36f9cc24c05efea5bb275ab52156ce50 (diff)
h264: Print user data SEI under normal debug verbosity
Drop the need of setting -debug bugs since it's not a bug, and the message is already under a AV_LOG_DEBUG log level. Instead only print it when there is an actual string in it.
Diffstat (limited to 'libavcodec/h264_sei.c')
-rw-r--r--libavcodec/h264_sei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c
index ddf1b6f9fa..2b25840405 100644
--- a/libavcodec/h264_sei.c
+++ b/libavcodec/h264_sei.c
@@ -229,7 +229,7 @@ static int decode_unregistered_user_data(H264Context *h, int size)
if (e == 1 && build > 0)
h->x264_build = build;
- if (h->avctx->debug & FF_DEBUG_BUGS)
+ if (strlen(user_data + 16) > 0)
av_log(h->avctx, AV_LOG_DEBUG, "user data:\"%s\"\n", user_data + 16);
for (; i < size; i++)