[vlc-devel] [PATCH] demux: playlist: don't use metareader on playlists
    Rémi Denis-Courmont 
    remi at remlab.net
       
    Mon Feb 15 11:26:21 CET 2016
    
    
  
Le 2016-02-15 12:15, Francois Cartegnie a écrit :
> 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;
Redundant cast is redundant.
> +            return VLC_SUCCESS;
> +        }
>      }
>      return VLC_EGENERIC;
>  }
-- 
Rémi Denis-Courmont
http://www.remlab.net/
    
    
More information about the vlc-devel
mailing list