[vlc-devel] commit: m3u.c: use input_item_SetTitle (Ilkka Ollakka )
git version control
git at videolan.org
Sun Oct 11 21:31:03 CEST 2009
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Thu Oct 8 23:41:14 2009 +0300| [f428f72bdda60aee90958a0616b5b22ab0ab2c4b] | committer: Ilkka Ollakka
m3u.c: use input_item_SetTitle
This allow to have channelnames on saved xspf-playlist from dvb-scanning.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f428f72bdda60aee90958a0616b5b22ab0ab2c4b
---
modules/demux/playlist/m3u.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/demux/playlist/m3u.c b/modules/demux/playlist/m3u.c
index 6d54c39..c933ddf 100644
--- a/modules/demux/playlist/m3u.c
+++ b/modules/demux/playlist/m3u.c
@@ -200,6 +200,7 @@ static int Demux( demux_t *p_demux )
if ( psz_artist && *psz_artist )
input_item_SetArtist( p_input, psz_artist );
+ if( psz_name ) input_item_SetTitle( p_input, psz_name );
input_item_AddSubItem( p_current_input, p_input );
vlc_gc_decref( p_input );
More information about the vlc-devel
mailing list