[vlc-devel] commit: Launch meta_reader after avformat demuxer. (Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Mar 1 14:57:46 CET 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Mar  1 14:43:12 2009 +0100| [61bd99b6945c70eb8ff34fb3c26cebeaca6f08c7] | committer: Jean-Baptiste Kempf 

Launch meta_reader after avformat demuxer.

This gives metadata in WavPack files, for example.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=61bd99b6945c70eb8ff34fb3c26cebeaca6f08c7
---

 modules/demux/avformat/demux.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c
index 4017b77..e413c00 100644
--- a/modules/demux/avformat/demux.c
+++ b/modules/demux/avformat/demux.c
@@ -543,6 +543,14 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
             UpdateSeekPoint( p_demux, i64 );
             return VLC_SUCCESS;
 
+        case DEMUX_HAS_UNSUPPORTED_META:
+        {
+            bool *pb_bool = (bool*)va_arg( args, bool* );
+            *pb_bool = true;
+            return VLC_SUCCESS;
+        }
+
+
         case DEMUX_GET_META:
         {
             vlc_meta_t *p_meta = (vlc_meta_t*)va_arg( args, vlc_meta_t* );




More information about the vlc-devel mailing list