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
5d88ca9c
Commit
5d88ca9c
authored
Jun 17, 2005
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/demux/playlist/playlist.c: New --no-playlist-autostart option.
parent
cc47db8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
modules/demux/playlist/playlist.c
modules/demux/playlist/playlist.c
+12
-3
No files found.
modules/demux/playlist/playlist.c
View file @
5d88ca9c
...
...
@@ -33,11 +33,18 @@
/*****************************************************************************
* Module descriptor
*****************************************************************************/
#define AUTOSTART_TEXT N_( "Auto start" )
#define AUTOSTART_LONGTEXT N_( "Automatically start the playlist when " \
"it's loaded.\n" )
vlc_module_begin
();
add_shortcut
(
"playlist"
);
set_category
(
CAT_INPUT
);
set_subcategory
(
SUBCAT_INPUT_DEMUX
);
add_bool
(
"playlist-autostart"
,
1
,
NULL
,
AUTOSTART_TEXT
,
AUTOSTART_LONGTEXT
,
VLC_FALSE
);
set_description
(
_
(
"Old playlist open"
)
);
add_shortcut
(
"old-open"
);
set_capability
(
"demux2"
,
10
);
...
...
@@ -121,9 +128,11 @@ char *E_(ProcessMRL)( char *psz_mrl, char *psz_prefix )
vlc_bool_t
E_
(
FindItem
)(
demux_t
*
p_demux
,
playlist_t
*
p_playlist
,
playlist_item_t
**
pp_item
)
{
vlc_bool_t
b_play
;
if
(
p_playlist
->
status
.
p_item
&&
&
p_playlist
->
status
.
p_item
->
input
==
((
input_thread_t
*
)
p_demux
->
p_parent
)
->
input
.
p_item
)
vlc_bool_t
b_play
=
var_CreateGetBool
(
p_demux
,
"playlist-autostart"
);
if
(
b_play
&&
p_playlist
->
status
.
p_item
&&
&
p_playlist
->
status
.
p_item
->
input
==
((
input_thread_t
*
)
p_demux
->
p_parent
)
->
input
.
p_item
)
{
msg_Dbg
(
p_playlist
,
"starting playlist playback"
);
*
pp_item
=
p_playlist
->
status
.
p_item
;
...
...
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