]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
transcode: hwaccels - improve 'trying pix_fmt' log line
authorJaroslav Kysela <perex@perex.cz>
Wed, 13 Sep 2017 10:26:07 +0000 (12:26 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 13 Sep 2017 10:26:21 +0000 (12:26 +0200)
src/transcoding/transcode/hwaccels/hwaccels.c

index 86c187bf140da96a178e848ac20a82e4639c91d5..4a8e8218d15301ecdc328bf134ce563278699b8e 100644 (file)
@@ -77,7 +77,7 @@ hwaccels_decode_get_format(AVCodecContext *avctx,
     for (i = 0; pix_fmts[i] != AV_PIX_FMT_NONE; i++) {
         pix_fmt = pix_fmts[i];
         if ((desc = av_pix_fmt_desc_get(pix_fmt))) {
-            tvhdebug(LS_TRANSCODE, "trying pix_fmt: %s", desc->name);
+            tvhtrace(LS_TRANSCODE, "hwaccels: [%s] trying pix_fmt: %s", avctx->codec->name, desc->name);
             if ((desc->flags & AV_PIX_FMT_FLAG_HWACCEL) &&
                 !hwaccels_decode_setup_context(avctx, pix_fmt)) {
                 break;