Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
163b142d
Commit
163b142d
authored
Mar 29, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: remove no-op pf_deactivate functions
parent
01985075
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
64 deletions
+15
-64
modules/demux/playlist/b4s.c
modules/demux/playlist/b4s.c
+8
-12
modules/demux/playlist/dvb.c
modules/demux/playlist/dvb.c
+0
-8
modules/demux/playlist/ifo.c
modules/demux/playlist/ifo.c
+0
-8
modules/demux/playlist/playlist.c
modules/demux/playlist/playlist.c
+7
-7
modules/demux/playlist/playlist.h
modules/demux/playlist/playlist.h
+0
-5
modules/demux/playlist/podcast.c
modules/demux/playlist/podcast.c
+0
-8
modules/demux/playlist/qtl.c
modules/demux/playlist/qtl.c
+0
-8
modules/demux/playlist/shoutcast.c
modules/demux/playlist/shoutcast.c
+0
-8
No files found.
modules/demux/playlist/b4s.c
View file @
163b142d
...
@@ -51,20 +51,16 @@ static bool IsWhitespace( const char *psz_string );
...
@@ -51,20 +51,16 @@ static bool IsWhitespace( const char *psz_string );
*****************************************************************************/
*****************************************************************************/
int
Import_B4S
(
vlc_object_t
*
p_this
)
int
Import_B4S
(
vlc_object_t
*
p_this
)
{
{
DEMUX_BY_EXTENSION_OR_FORCED_MSG
(
".b4s"
,
"b4s-open"
,
demux_t
*
demux
=
(
demux_t
*
)
p_this
;
"using B4S playlist reader"
);
return
VLC_SUCCESS
;
}
/*****************************************************************************
if
(
!
demux_IsPathExtension
(
demux
,
".b4s"
)
* Deactivate: frees unused data
&&
!
demux_IsForced
(
demux
,
"b4s-open"
)
)
*****************************************************************************/
return
VLC_EGENERIC
;
void
Close_B4S
(
vlc_object_t
*
p_this
)
{
demux
->
pf_demux
=
Demux
;
demux_t
*
p_demux
=
(
demux_t
*
)
p_this
;
demux
->
pf_control
=
Control
;
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
free
(
p_sys
)
;
return
VLC_SUCCESS
;
}
}
static
int
Demux
(
demux_t
*
p_demux
)
static
int
Demux
(
demux_t
*
p_demux
)
...
...
modules/demux/playlist/dvb.c
View file @
163b142d
...
@@ -85,14 +85,6 @@ int Import_DVB( vlc_object_t *p_this )
...
@@ -85,14 +85,6 @@ int Import_DVB( vlc_object_t *p_this )
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
/*****************************************************************************
* Deactivate: frees unused data
*****************************************************************************/
void
Close_DVB
(
vlc_object_t
*
p_this
)
{
VLC_UNUSED
(
p_this
);
}
/*****************************************************************************
/*****************************************************************************
* Demux: The important stuff
* Demux: The important stuff
*****************************************************************************/
*****************************************************************************/
...
...
modules/demux/playlist/ifo.c
View file @
163b142d
...
@@ -93,14 +93,6 @@ int Import_IFO( vlc_object_t *p_this )
...
@@ -93,14 +93,6 @@ int Import_IFO( vlc_object_t *p_this )
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
/*****************************************************************************
* Deactivate: frees unused data
*****************************************************************************/
void
Close_IFO
(
vlc_object_t
*
p_this
)
{
VLC_UNUSED
(
p_this
);
}
static
int
Demux
(
demux_t
*
p_demux
)
static
int
Demux
(
demux_t
*
p_demux
)
{
{
char
*
psz_url
,
*
psz_dir
;
char
*
psz_url
,
*
psz_dir
;
...
...
modules/demux/playlist/playlist.c
View file @
163b142d
...
@@ -81,17 +81,17 @@ vlc_module_begin ()
...
@@ -81,17 +81,17 @@ vlc_module_begin ()
set_description
(
N_
(
"B4S playlist import"
)
)
set_description
(
N_
(
"B4S playlist import"
)
)
add_shortcut
(
"playlist"
,
"b4s-open"
,
"shout-b4s"
)
add_shortcut
(
"playlist"
,
"b4s-open"
,
"shout-b4s"
)
set_capability
(
"demux"
,
10
)
set_capability
(
"demux"
,
10
)
set_callbacks
(
Import_B4S
,
Close_B4S
)
set_callbacks
(
Import_B4S
,
NULL
)
add_submodule
()
add_submodule
()
set_description
(
N_
(
"DVB playlist import"
)
)
set_description
(
N_
(
"DVB playlist import"
)
)
add_shortcut
(
"playlist"
,
"dvb-open"
)
add_shortcut
(
"playlist"
,
"dvb-open"
)
set_capability
(
"demux"
,
10
)
set_capability
(
"demux"
,
10
)
set_callbacks
(
Import_DVB
,
Close_DVB
)
set_callbacks
(
Import_DVB
,
NULL
)
add_submodule
()
add_submodule
()
set_description
(
N_
(
"Podcast parser"
)
)
set_description
(
N_
(
"Podcast parser"
)
)
add_shortcut
(
"playlist"
,
"podcast"
)
add_shortcut
(
"playlist"
,
"podcast"
)
set_capability
(
"demux"
,
10
)
set_capability
(
"demux"
,
10
)
set_callbacks
(
Import_podcast
,
Close_podcast
)
set_callbacks
(
Import_podcast
,
NULL
)
add_submodule
()
add_submodule
()
set_description
(
N_
(
"XSPF playlist import"
)
)
set_description
(
N_
(
"XSPF playlist import"
)
)
add_shortcut
(
"playlist"
,
"xspf-open"
)
add_shortcut
(
"playlist"
,
"xspf-open"
)
...
@@ -101,7 +101,7 @@ vlc_module_begin ()
...
@@ -101,7 +101,7 @@ vlc_module_begin ()
set_description
(
N_
(
"New winamp 5.2 shoutcast import"
)
)
set_description
(
N_
(
"New winamp 5.2 shoutcast import"
)
)
add_shortcut
(
"playlist"
,
"shout-winamp"
)
add_shortcut
(
"playlist"
,
"shout-winamp"
)
set_capability
(
"demux"
,
10
)
set_capability
(
"demux"
,
10
)
set_callbacks
(
Import_Shoutcast
,
Close_Shoutcast
)
set_callbacks
(
Import_Shoutcast
,
NULL
)
add_bool
(
"shoutcast-show-adult"
,
false
,
add_bool
(
"shoutcast-show-adult"
,
false
,
SHOW_ADULT_TEXT
,
SHOW_ADULT_LONGTEXT
,
false
)
SHOW_ADULT_TEXT
,
SHOW_ADULT_LONGTEXT
,
false
)
add_submodule
()
add_submodule
()
...
@@ -118,17 +118,17 @@ vlc_module_begin ()
...
@@ -118,17 +118,17 @@ vlc_module_begin ()
set_description
(
N_
(
"QuickTime Media Link importer"
)
)
set_description
(
N_
(
"QuickTime Media Link importer"
)
)
add_shortcut
(
"playlist"
,
"qtl"
)
add_shortcut
(
"playlist"
,
"qtl"
)
set_capability
(
"demux"
,
10
)
set_capability
(
"demux"
,
10
)
set_callbacks
(
Import_QTL
,
Close_QT
L
)
set_callbacks
(
Import_QTL
,
NUL
L
)
add_submodule
()
add_submodule
()
set_description
(
N_
(
"Google Video Playlist importer"
)
)
set_description
(
N_
(
"Google Video Playlist importer"
)
)
add_shortcut
(
"playlist"
,
"gvp"
)
add_shortcut
(
"playlist"
,
"gvp"
)
set_capability
(
"demux"
,
10
)
set_capability
(
"demux"
,
10
)
set_callbacks
(
Import_GVP
,
Close_GVP
)
set_callbacks
(
Import_GVP
,
Close_GVP
)
add_submodule
()
add_submodule
()
set_description
(
N_
(
"Dummy
ifo
demux"
)
)
set_description
(
N_
(
"Dummy
IFO
demux"
)
)
add_shortcut
(
"playlist"
)
add_shortcut
(
"playlist"
)
set_capability
(
"demux"
,
12
)
set_capability
(
"demux"
,
12
)
set_callbacks
(
Import_IFO
,
Close_IFO
)
set_callbacks
(
Import_IFO
,
NULL
)
add_submodule
()
add_submodule
()
set_description
(
N_
(
"iTunes Music Library importer"
)
)
set_description
(
N_
(
"iTunes Music Library importer"
)
)
add_shortcut
(
"playlist"
,
"itml"
)
add_shortcut
(
"playlist"
,
"itml"
)
...
...
modules/demux/playlist/playlist.h
View file @
163b142d
...
@@ -42,19 +42,15 @@ int Import_PLS ( vlc_object_t * );
...
@@ -42,19 +42,15 @@ int Import_PLS ( vlc_object_t * );
void
Close_PLS
(
vlc_object_t
*
);
void
Close_PLS
(
vlc_object_t
*
);
int
Import_B4S
(
vlc_object_t
*
);
int
Import_B4S
(
vlc_object_t
*
);
void
Close_B4S
(
vlc_object_t
*
);
int
Import_DVB
(
vlc_object_t
*
);
int
Import_DVB
(
vlc_object_t
*
);
void
Close_DVB
(
vlc_object_t
*
);
int
Import_podcast
(
vlc_object_t
*
);
int
Import_podcast
(
vlc_object_t
*
);
void
Close_podcast
(
vlc_object_t
*
);
int
Import_xspf
(
vlc_object_t
*
);
int
Import_xspf
(
vlc_object_t
*
);
void
Close_xspf
(
vlc_object_t
*
);
void
Close_xspf
(
vlc_object_t
*
);
int
Import_Shoutcast
(
vlc_object_t
*
);
int
Import_Shoutcast
(
vlc_object_t
*
);
void
Close_Shoutcast
(
vlc_object_t
*
);
int
Import_ASX
(
vlc_object_t
*
);
int
Import_ASX
(
vlc_object_t
*
);
void
Close_ASX
(
vlc_object_t
*
);
void
Close_ASX
(
vlc_object_t
*
);
...
@@ -63,7 +59,6 @@ int Import_SGIMB ( vlc_object_t * );
...
@@ -63,7 +59,6 @@ int Import_SGIMB ( vlc_object_t * );
void
Close_SGIMB
(
vlc_object_t
*
);
void
Close_SGIMB
(
vlc_object_t
*
);
int
Import_QTL
(
vlc_object_t
*
);
int
Import_QTL
(
vlc_object_t
*
);
void
Close_QTL
(
vlc_object_t
*
);
int
Import_GVP
(
vlc_object_t
*
);
int
Import_GVP
(
vlc_object_t
*
);
void
Close_GVP
(
vlc_object_t
*
);
void
Close_GVP
(
vlc_object_t
*
);
...
...
modules/demux/playlist/podcast.c
View file @
163b142d
...
@@ -58,14 +58,6 @@ int Import_podcast( vlc_object_t *p_this )
...
@@ -58,14 +58,6 @@ int Import_podcast( vlc_object_t *p_this )
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
/*****************************************************************************
* Deactivate: frees unused data
*****************************************************************************/
void
Close_podcast
(
vlc_object_t
*
p_this
)
{
(
void
)
p_this
;
}
/* "specs" : http://phobos.apple.com/static/iTunesRSS.html */
/* "specs" : http://phobos.apple.com/static/iTunesRSS.html */
static
int
Demux
(
demux_t
*
p_demux
)
static
int
Demux
(
demux_t
*
p_demux
)
{
{
...
...
modules/demux/playlist/qtl.c
View file @
163b142d
...
@@ -92,14 +92,6 @@ int Import_QTL( vlc_object_t *p_this )
...
@@ -92,14 +92,6 @@ int Import_QTL( vlc_object_t *p_this )
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
/*****************************************************************************
* Deactivate: frees unused data
*****************************************************************************/
void
Close_QTL
(
vlc_object_t
*
p_this
)
{
(
void
)
p_this
;
}
static
int
Demux
(
demux_t
*
p_demux
)
static
int
Demux
(
demux_t
*
p_demux
)
{
{
xml_reader_t
*
p_xml_reader
;
xml_reader_t
*
p_xml_reader
;
...
...
modules/demux/playlist/shoutcast.c
View file @
163b142d
...
@@ -69,14 +69,6 @@ int Import_Shoutcast( vlc_object_t *p_this )
...
@@ -69,14 +69,6 @@ int Import_Shoutcast( vlc_object_t *p_this )
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
/*****************************************************************************
* Deactivate: frees unused data
*****************************************************************************/
void
Close_Shoutcast
(
vlc_object_t
*
p_this
)
{
(
void
)
p_this
;
}
static
int
Demux
(
demux_t
*
p_demux
)
static
int
Demux
(
demux_t
*
p_demux
)
{
{
xml_reader_t
*
p_xml_reader
=
NULL
;
xml_reader_t
*
p_xml_reader
=
NULL
;
...
...
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