[vlc-devel] [PATCH] demux: playlist: don't use metareader on playlists

Francois Cartegnie fcvlcdev at free.fr
Mon Feb 15 11:15:04 CET 2016


I don't see why playlist should try meta readers/taglib
---
 modules/demux/playlist/playlist.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/modules/demux/playlist/playlist.c b/modules/demux/playlist/playlist.c
index 37a2b42..37de928 100644
--- a/modules/demux/playlist/playlist.c
+++ b/modules/demux/playlist/playlist.c
@@ -199,6 +199,15 @@ int Control(demux_t *demux, int query, va_list args)
             *pb_bool = true;
             return VLC_SUCCESS;
         }
+        case DEMUX_GET_META:
+        {
+            return VLC_SUCCESS;
+        }
+        case DEMUX_HAS_UNSUPPORTED_META:
+        {
+            *((bool*)va_arg( args, bool * )) = false;
+            return VLC_SUCCESS;
+        }
     }
     return VLC_EGENERIC;
 }
-- 
2.5.0



More information about the vlc-devel mailing list