# HG changeset patch # User michael # Date 1114454498 0 # Node ID 2344c6713011007fe1362f495276e21ae865d1a4 # Parent eaa57c3336fc5c8199a25b1399b446e1af44322e print pix_fmt if its known instead of if the raw codec is used diff -r eaa57c3336fc -r 2344c6713011 utils.c --- a/utils.c Mon Apr 25 18:29:06 2005 +0000 +++ b/utils.c Mon Apr 25 18:41:38 2005 +0000 @@ -725,7 +725,7 @@ snprintf(buf, buf_size, "Video: %s%s", codec_name, enc->mb_decision ? " (hq)" : ""); - if (enc->codec_id == CODEC_ID_RAWVIDEO) { + if (enc->pix_fmt != PIX_FMT_NONE) { snprintf(buf + strlen(buf), buf_size - strlen(buf), ", %s", avcodec_get_pix_fmt_name(enc->pix_fmt));