Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
555437f5
Commit
555437f5
authored
Jun 14, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shoutcast: Don't use playlist code.
parent
33c10298
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
modules/demux/playlist/shoutcast.c
modules/demux/playlist/shoutcast.c
+2
-8
No files found.
modules/demux/playlist/shoutcast.c
View file @
555437f5
...
...
@@ -38,7 +38,6 @@
struct
demux_sys_t
{
playlist_t
*
p_playlist
;
input_item_t
*
p_current_input
;
xml_t
*
p_xml
;
...
...
@@ -72,7 +71,6 @@ int Import_Shoutcast( vlc_object_t *p_this )
return
VLC_EGENERIC
;
STANDARD_DEMUX_INIT_MSG
(
"using shoutcast playlist reader"
);
p_demux
->
p_sys
->
p_playlist
=
NULL
;
p_demux
->
p_sys
->
p_xml
=
NULL
;
p_demux
->
p_sys
->
p_xml_reader
=
NULL
;
...
...
@@ -92,8 +90,6 @@ void Close_Shoutcast( vlc_object_t *p_this )
demux_t
*
p_demux
=
(
demux_t
*
)
p_this
;
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
if
(
p_sys
->
p_playlist
)
vlc_object_release
(
p_sys
->
p_playlist
);
if
(
p_sys
->
p_xml_reader
)
xml_ReaderDelete
(
p_sys
->
p_xml
,
p_sys
->
p_xml_reader
);
if
(
p_sys
->
p_xml
)
...
...
@@ -108,7 +104,6 @@ static int Demux( demux_t *p_demux )
xml_reader_t
*
p_xml_reader
;
char
*
psz_eltname
=
NULL
;
INIT_PLAYLIST_STUFF
;
p_sys
->
p_playlist
=
p_playlist
;
p_sys
->
p_current_input
=
p_current_input
;
p_xml
=
p_sys
->
p_xml
=
xml_Create
(
p_demux
);
...
...
@@ -150,7 +145,6 @@ static int Demux( demux_t *p_demux )
}
HANDLE_PLAY_AND_RELEASE
;
p_sys
->
p_playlist
=
NULL
;
return
0
;
/* Needed for correct operation of go back */
}
...
...
@@ -234,7 +228,7 @@ static int DemuxGenre( demux_t *p_demux )
+
strlen
(
"?genre="
)
+
strlen
(
psz_name
)
+
1
);
sprintf
(
psz_mrl
,
SHOUTCAST_BASE_URL
"?genre=%s"
,
psz_name
);
p_input
=
input_ItemNewExt
(
p_
sys
->
p_playlist
,
psz_mrl
,
p_input
=
input_ItemNewExt
(
p_
demux
,
psz_mrl
,
psz_name
,
0
,
NULL
,
-
1
);
input_ItemCopyOptions
(
p_sys
->
p_current_input
,
p_input
);
...
...
@@ -408,7 +402,7 @@ static int DemuxStation( demux_t *p_demux )
sprintf
(
psz_mrl
,
SHOUTCAST_TUNEIN_BASE_URL
"%s?id=%s"
,
psz_base
,
psz_id
);
}
p_input
=
input_ItemNewExt
(
p_
sys
->
p_playlist
,
psz_mrl
,
p_input
=
input_ItemNewExt
(
p_
demux
,
psz_mrl
,
psz_name
,
0
,
NULL
,
-
1
);
free
(
psz_mrl
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment