Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
f61ff374
Commit
f61ff374
authored
Nov 14, 2003
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fixed playlist_Pause
parent
be0055dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
4 deletions
+20
-4
src/playlist/playlist.c
src/playlist/playlist.c
+20
-4
No files found.
src/playlist/playlist.c
View file @
f61ff374
...
...
@@ -2,7 +2,7 @@
* playlist.c : Playlist management functions
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: playlist.c,v 1.6
3 2003/11/02 23:13:30 zorglub
Exp $
* $Id: playlist.c,v 1.6
4 2003/11/14 03:51:39 hartman
Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -161,11 +161,27 @@ void playlist_Destroy( playlist_t * p_playlist )
break
;
case
PLAYLIST_PAUSE
:
p_playlist
->
i_status
=
PLAYLIST_PAUSED
;
val
.
i_int
=
0
;
if
(
p_playlist
->
p_input
)
var_Get
(
p_playlist
->
p_input
,
"state"
,
&
val
);
if
(
val
.
i_int
==
PAUSE_S
)
{
val
.
i_int
=
PAUSE_S
;
var_Set
(
p_playlist
->
p_input
,
"state"
,
val
);
p_playlist
->
i_status
=
PLAYLIST_RUNNING
;
if
(
p_playlist
->
p_input
)
{
val
.
i_int
=
PLAYING_S
;
var_Set
(
p_playlist
->
p_input
,
"state"
,
val
);
}
}
else
{
p_playlist
->
i_status
=
PLAYLIST_PAUSED
;
if
(
p_playlist
->
p_input
)
{
val
.
i_int
=
PAUSE_S
;
var_Set
(
p_playlist
->
p_input
,
"state"
,
val
);
}
}
break
;
...
...
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