[FFmpeg-devel] [PATCH 1/2] ffprobe: Do not print profile names in -bitexact

Timothy Gu timothygu99 at gmail.com
Thu Nov 26 06:35:06 CET 2015


---
 ffprobe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffprobe.c b/ffprobe.c
index c304a6d..216db379 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -2148,7 +2148,7 @@ static int show_stream(WriterContext *w, AVFormatContext *fmt_ctx, int stream_id
             }
         }
 
-        if (dec && (profile = av_get_profile_name(dec, dec_ctx->profile)))
+        if (!do_bitexact && dec && (profile = av_get_profile_name(dec, dec_ctx->profile)))
             print_str("profile", profile);
         else
             print_str_opt("profile", "unknown");
-- 
2.1.4



More information about the ffmpeg-devel mailing list