Commit 5e2e3995 authored by Srikanth Raju's avatar Srikanth Raju Committed by Jean-Baptiste Kempf

Split RAM playlist support from m3u to its own demuxer and fix its support.

Adds a RAM playlist demuxer to read .ram playlist files. Handles parameters author, copyright, clipinfo, start, end and title.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent c20cca81
...@@ -2,6 +2,7 @@ SOURCES_playlist = \ ...@@ -2,6 +2,7 @@ SOURCES_playlist = \
playlist.c \ playlist.c \
playlist.h \ playlist.h \
m3u.c \ m3u.c \
ram.c \
b4s.c \ b4s.c \
pls.c \ pls.c \
dvb.c \ dvb.c \
......
...@@ -70,6 +70,11 @@ vlc_module_begin () ...@@ -70,6 +70,11 @@ vlc_module_begin ()
add_shortcut( "m3u-open" ) add_shortcut( "m3u-open" )
set_capability( "demux", 10 ) set_capability( "demux", 10 )
set_callbacks( Import_M3U, Close_M3U ) set_callbacks( Import_M3U, Close_M3U )
add_submodule ()
set_description( N_("RAM playlist import") )
add_shortcut( "ram-open" )
set_capability( "demux", 10 )
set_callbacks( Import_RAM, Close_RAM )
add_submodule () add_submodule ()
set_description( N_("PLS playlist import") ) set_description( N_("PLS playlist import") )
add_shortcut( "pls-open" ) add_shortcut( "pls-open" )
......
...@@ -34,6 +34,9 @@ void Close_Native ( vlc_object_t * ); ...@@ -34,6 +34,9 @@ void Close_Native ( vlc_object_t * );
int Import_M3U ( vlc_object_t * ); int Import_M3U ( vlc_object_t * );
void Close_M3U ( vlc_object_t * ); void Close_M3U ( vlc_object_t * );
int Import_RAM ( vlc_object_t * );
void Close_RAM ( vlc_object_t * );
int Import_PLS ( vlc_object_t * ); int Import_PLS ( vlc_object_t * );
void Close_PLS ( vlc_object_t * ); void Close_PLS ( vlc_object_t * );
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment