git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d6da67
)
m3u.c: use input_item_SetTitle
author
Ilkka Ollakka
<ileoo@videolan.org>
Thu, 8 Oct 2009 20:41:14 +0000
(23:41 +0300)
committer
Ilkka Ollakka
<ileoo@videolan.org>
Sun, 11 Oct 2009 19:30:36 +0000
(22:30 +0300)
This allow to have channelnames on saved xspf-playlist from dvb-scanning.
modules/demux/playlist/m3u.c
patch
|
blob
|
history
diff --git
a/modules/demux/playlist/m3u.c
b/modules/demux/playlist/m3u.c
index
6d54c39
..
c933ddf
100644
(file)
--- 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 );