[FFmpeg-devel] [PATCH 2/2] ffprobe: print codec timecode if available.

Clément Bœsch ubitux at gmail.com
Wed Nov 16 17:52:34 CET 2011


From: Clément Bœsch <clement.boesch at smartjog.com>

---
 ffprobe.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ffprobe.c b/ffprobe.c
index c15cf7b..70198a6 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -977,6 +977,8 @@ static void show_stream(WriterContext *w, AVFormatContext *fmt_ctx, int stream_i
             if (s) print_str    ("pix_fmt", s);
             else   print_str_opt("pix_fmt", "unknown");
             print_int("level",   dec_ctx->level);
+            if (dec_ctx->timecode_str[0])
+                print_str("timecode", dec_ctx->timecode_str);
             break;
 
         case AVMEDIA_TYPE_AUDIO:
-- 
1.7.7.1



More information about the ffmpeg-devel mailing list