Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
7647c5af
Commit
7647c5af
authored
Mar 08, 2008
by
Rémi Duraffort
Committed by
Rafaël Carré
Mar 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove PLAYLIST_AUTOPLAY and use PLAYLIST_PLAY instead. Fix #1477
Signed-off-by:
Rafaël Carré
<
funman@videolan.org
>
parent
a418e6d3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
11 deletions
+2
-11
include/vlc_common.h
include/vlc_common.h
+0
-1
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+1
-1
modules/gui/skins2/src/skin_main.cpp
modules/gui/skins2/src/skin_main.cpp
+1
-1
src/playlist/control.c
src/playlist/control.c
+0
-8
No files found.
include/vlc_common.h
View file @
7647c5af
...
@@ -200,7 +200,6 @@ typedef struct msg_subscription_t msg_subscription_t;
...
@@ -200,7 +200,6 @@ typedef struct msg_subscription_t msg_subscription_t;
*/
*/
typedef
enum
{
typedef
enum
{
PLAYLIST_PLAY
,
/**< No arg. res=can fail*/
PLAYLIST_PLAY
,
/**< No arg. res=can fail*/
PLAYLIST_AUTOPLAY
,
/**< No arg. res=cant fail*/
PLAYLIST_VIEWPLAY
,
/**< arg1= playlist_item_t*,*/
PLAYLIST_VIEWPLAY
,
/**< arg1= playlist_item_t*,*/
/** arg2 = playlist_item_t* , res=can fail */
/** arg2 = playlist_item_t* , res=can fail */
PLAYLIST_PAUSE
,
/**< No arg res=can fail*/
PLAYLIST_PAUSE
,
/**< No arg res=can fail*/
...
...
modules/gui/macosx/intf.m
View file @
7647c5af
...
@@ -553,7 +553,7 @@ static VLCMain *_o_sharedMainInstance = nil;
...
@@ -553,7 +553,7 @@ static VLCMain *_o_sharedMainInstance = nil;
/* Check if we need to start playing */
/* Check if we need to start playing */
if
(
p_intf
->
b_play
)
if
(
p_intf
->
b_play
)
{
{
playlist_Control
(
p_playlist
,
PLAYLIST_
AUTO
PLAY
,
VLC_FALSE
);
playlist_Control
(
p_playlist
,
PLAYLIST_PLAY
,
VLC_FALSE
);
}
}
var_Create
(
p_playlist
,
"fullscreen"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
var_Create
(
p_playlist
,
"fullscreen"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
val
.
b_bool
=
VLC_FALSE
;
val
.
b_bool
=
VLC_FALSE
;
...
...
modules/gui/skins2/src/skin_main.cpp
View file @
7647c5af
...
@@ -262,7 +262,7 @@ static void Run( intf_thread_t *p_intf )
...
@@ -262,7 +262,7 @@ static void Run( intf_thread_t *p_intf )
FIND_ANYWHERE
);
FIND_ANYWHERE
);
if
(
p_playlist
)
if
(
p_playlist
)
{
{
playlist_Control
(
p_playlist
,
PLAYLIST_
AUTO
PLAY
,
VLC_FALSE
);
playlist_Control
(
p_playlist
,
PLAYLIST_PLAY
,
VLC_FALSE
);
vlc_object_release
(
p_playlist
);
vlc_object_release
(
p_playlist
);
}
}
}
}
...
...
src/playlist/control.c
View file @
7647c5af
...
@@ -122,14 +122,6 @@ static int PlaylistVAControl( playlist_t * p_playlist, int i_query, va_list args
...
@@ -122,14 +122,6 @@ static int PlaylistVAControl( playlist_t * p_playlist, int i_query, va_list args
}
}
break
;
break
;
case
PLAYLIST_AUTOPLAY
:
// AUTOPLAY is an ugly hack for initial status.
// Hopefully it will disappear
p_playlist
->
status
.
i_status
=
PLAYLIST_RUNNING
;
p_playlist
->
request
.
p_node
=
p_playlist
->
status
.
p_node
;
p_playlist
->
request
.
b_request
=
VLC_FALSE
;
break
;
case
PLAYLIST_PAUSE
:
case
PLAYLIST_PAUSE
:
val
.
i_int
=
0
;
val
.
i_int
=
0
;
if
(
p_playlist
->
p_input
)
if
(
p_playlist
->
p_input
)
...
...
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