X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fdemux%2Fplaylist%2Fqtl.c;h=958b29e0afd783c8703515c0843ac306dbc98ea9;hb=80bd0c5d39ba8ac1c52f747da6d2b18a4e20ff7f;hp=7dd9cafa89ee8703bb602c59695acdabe3448709;hpb=163b142d90bfc454bae7bb43fb486ad3868acd4f;p=vlc diff --git a/modules/demux/playlist/qtl.c b/modules/demux/playlist/qtl.c index 7dd9cafa89..958b29e0af 100644 --- a/modules/demux/playlist/qtl.c +++ b/modules/demux/playlist/qtl.c @@ -1,24 +1,24 @@ /***************************************************************************** * qtl.c: QuickTime Media Link Importer ***************************************************************************** - * Copyright (C) 2006 the VideoLAN team + * Copyright (C) 2006 VLC authors and VideoLAN * $Id$ * * Authors: Antoine Cellerier * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ /* @@ -57,6 +57,7 @@ volume - 0 (mute) - 100 (max) #include "playlist.h" #include +#include typedef enum { FULLSCREEN_NORMAL, FULLSCREEN_DOUBLE, @@ -73,7 +74,6 @@ const char* ppsz_loop[] = { "true", "false", "palindrome" }; * Local prototypes *****************************************************************************/ static int Demux( demux_t *p_demux); -static int Control( demux_t *p_demux, int i_query, va_list args ); /***************************************************************************** * Import_QTL: main import function @@ -244,6 +244,7 @@ static int Demux( demux_t *p_demux ) vlc_gc_decref( p_input ); if( psz_qtnext ) { + resolve_xml_special_chars( psz_qtnext ); p_input = input_item_New( psz_qtnext, NULL ); input_item_node_AppendItem( p_subitems, p_input ); vlc_gc_decref( p_input ); @@ -266,9 +267,3 @@ error: free( psz_mimetype ); return i_ret; } - -static int Control( demux_t *p_demux, int i_query, va_list args ) -{ - VLC_UNUSED(p_demux); VLC_UNUSED(i_query); VLC_UNUSED(args); - return VLC_EGENERIC; -}