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

Francois Cartegnie git at videolan.org
Wed Feb 17 16:20:02 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Feb 15 11:06:32 2016 +0100| [5182ca263e4e1de0c2dcc1a97091634723f021d2] | committer: Francois Cartegnie

demux: playlist: don't use metareader on playlists

I don't see why playlist should try meta readers/taglib

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

 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..a15595f 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:
+        {
+            *(va_arg( args, bool * )) = false;
+            return VLC_SUCCESS;
+        }
     }
     return VLC_EGENERIC;
 }



More information about the vlc-commits mailing list