[vlc-devel] commit: Set the proper flags for item options ( Rémi Denis-Courmont )
git version control
git at videolan.org
Mon Mar 17 20:11:31 CET 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Mon Mar 17 19:38:21 2008 +0200| [208d017e7c250518e1601a9610cec0866012ca37]
Set the proper flags for item options
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=208d017e7c250518e1601a9610cec0866012ca37
---
modules/demux/playlist/m3u.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/modules/demux/playlist/m3u.c b/modules/demux/playlist/m3u.c
index 89d57c4..cfa3db7 100644
--- a/modules/demux/playlist/m3u.c
+++ b/modules/demux/playlist/m3u.c
@@ -183,11 +183,13 @@ static int Demux( demux_t *p_demux )
if( !psz_mrl ) goto error;
p_input = input_ItemNewExt( p_playlist, psz_mrl, psz_name,
- i_options, ppsz_options, i_duration );
+ 0, NULL, i_duration );
if ( psz_artist && *psz_artist )
input_ItemAddInfo( p_input, _(VLC_META_INFO_CAT),
_(VLC_META_ARTIST), "%s", psz_artist );
input_ItemAddSubItem( p_current_input, p_input );
+ for( unsigned i = 0; i < i_options; i++ )
+ input_ItemAddOpt( p_input, ppsz_options[i], 0 );
vlc_gc_decref( p_input );
free( psz_mrl );
}
More information about the vlc-devel
mailing list