[FFmpeg-cvslog] lavf: add AV_DISPOSITION_CLEAN_EFFECTS flag

Anssi Hannula git
Tue Feb 15 16:59:37 CET 2011


ffmpeg | branch: master | Anssi Hannula <anssi.hannula at iki.fi> | Mon Feb 14 18:43:38 2011 +0000| [2ea7e1f011438ee180c6260c74fe3894327a21f2] | committer: Michael Niedermayer

lavf: add AV_DISPOSITION_CLEAN_EFFECTS flag

Signed-off-by: Mans Rullgard <mans at mansr.com>
(cherry picked from commit 24a83bd10a1ed56cadd2c475b839887752f23183)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2ea7e1f011438ee180c6260c74fe3894327a21f2
---

 libavformat/avformat.h |    1 +
 libavformat/utils.c    |    2 ++
 libavformat/version.h  |    2 +-
 3 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index ff72361..cc56fb7 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -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.
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 3cae6c6..6abfdcd 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -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, "    ");
 }
diff --git a/libavformat/version.h b/libavformat/version.h
index d13ec07..4e26eaa 100644
--- a/libavformat/version.h
+++ b/libavformat/version.h
@@ -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, \




More information about the ffmpeg-cvslog mailing list