OSDN Git Service

lavf: add AV_DISPOSITION_CLEAN_EFFECTS flag
authorAnssi Hannula <anssi.hannula@iki.fi>
Mon, 14 Feb 2011 18:43:38 +0000 (18:43 +0000)
committerMans Rullgard <mans@mansr.com>
Mon, 14 Feb 2011 23:16:32 +0000 (23:16 +0000)
Signed-off-by: Mans Rullgard <mans@mansr.com>
libavformat/avformat.h
libavformat/utils.c
libavformat/version.h

index 11a4541..8fb77f9 100644 (file)
@@ -474,6 +474,7 @@ typedef struct AVIndexEntry {
 #define AV_DISPOSITION_FORCED    0x0040
 #define AV_DISPOSITION_HEARING_IMPAIRED  0x0080  /**< stream for hearing impaired audiences */
 #define AV_DISPOSITION_VISUAL_IMPAIRED   0x0100  /**< stream for visual impaired audiences */
+#define AV_DISPOSITION_CLEAN_EFFECTS     0x0200  /**< stream without voice */
 
 /**
  * Stream structure.
index c0f971e..2303244 100644 (file)
@@ -3255,6 +3255,8 @@ static void dump_stream_format(AVFormatContext *ic, int i, int index, int is_out
         av_log(NULL, AV_LOG_INFO, " (hearing impaired)");
     if (st->disposition & AV_DISPOSITION_VISUAL_IMPAIRED)
         av_log(NULL, AV_LOG_INFO, " (visual impaired)");
+    if (st->disposition & AV_DISPOSITION_CLEAN_EFFECTS)
+        av_log(NULL, AV_LOG_INFO, " (clean effects)");
     av_log(NULL, AV_LOG_INFO, "\n");
     dump_metadata(NULL, st->metadata, "    ");
 }
index d13ec07..4e26eaa 100644 (file)
@@ -24,7 +24,7 @@
 #include "libavutil/avutil.h"
 
 #define LIBAVFORMAT_VERSION_MAJOR 52
-#define LIBAVFORMAT_VERSION_MINOR 99
+#define LIBAVFORMAT_VERSION_MINOR 100
 #define LIBAVFORMAT_VERSION_MICRO  1
 
 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \