[vlc-devel] commit: m3u.c: use input_item_SetTitle (Ilkka Ollakka )
git version control
git at videolan.org
Fri Oct 30 18:16:02 CET 2009
vlc | branch: 1.0-bugfix | Ilkka Ollakka <ileoo at videolan.org> | Thu Oct 8 23:41:14 2009 +0300| [2346b7f47ea16c55901eda0eb3231efbfa35a285] | committer: Ilkka Ollakka
m3u.c: use input_item_SetTitle
This allow to have channelnames on saved xspf-playlist from dvb-scanning.
(cherry picked from commit f428f72bdda60aee90958a0616b5b22ab0ab2c4b)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2346b7f47ea16c55901eda0eb3231efbfa35a285
---
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 f727c87..cb2fcea 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