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
4eb8f6ef
Commit
4eb8f6ef
authored
Jul 26, 2005
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/playlist/playlist.c: Attempt to fix PLAYLIST_ITEMPLAY in non-view
mode.
parent
3220fe68
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
src/playlist/playlist.c
src/playlist/playlist.c
+8
-6
No files found.
src/playlist/playlist.c
View file @
4eb8f6ef
...
@@ -570,12 +570,12 @@ static void RunThread ( playlist_t *p_playlist )
...
@@ -570,12 +570,12 @@ static void RunThread ( playlist_t *p_playlist )
continue
;
continue
;
}
}
/* This input is dying, let
him
do */
/* This input is dying, let
it
do */
else
if
(
p_playlist
->
p_input
->
b_die
)
else
if
(
p_playlist
->
p_input
->
b_die
)
{
{
;
;
}
}
/* This input has finished, ask
him
to die ! */
/* This input has finished, ask
it
to die ! */
else
if
(
p_playlist
->
p_input
->
b_error
else
if
(
p_playlist
->
p_input
->
b_error
||
p_playlist
->
p_input
->
b_eof
)
||
p_playlist
->
p_input
->
b_eof
)
{
{
...
@@ -691,7 +691,7 @@ static void RunThread ( playlist_t *p_playlist )
...
@@ -691,7 +691,7 @@ static void RunThread ( playlist_t *p_playlist )
}
}
else
if
(
p_playlist
->
p_input
->
b_die
)
else
if
(
p_playlist
->
p_input
->
b_die
)
{
{
/* This input is dying, leave
him
alone */
/* This input is dying, leave
it
alone */
;
;
}
}
else
if
(
p_playlist
->
p_input
->
b_error
||
p_playlist
->
p_input
->
b_eof
)
else
if
(
p_playlist
->
p_input
->
b_error
||
p_playlist
->
p_input
->
b_eof
)
...
@@ -864,10 +864,12 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
...
@@ -864,10 +864,12 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
msg_Dbg
(
p_playlist
,
"non-view mode request"
);
msg_Dbg
(
p_playlist
,
"non-view mode request"
);
#endif
#endif
/* Directly select the item, just like now */
/* Directly select the item, just like now */
p_new
=
p_playlist
->
request
.
p_item
;
i_skip
=
p_playlist
->
request
.
i_skip
;
i_skip
=
p_playlist
->
request
.
i_skip
;
i_goto
=
p_playlist
->
request
.
i_goto
;
i_goto
=
p_playlist
->
request
.
i_goto
;
if
(
p_playlist
->
i_index
<
0
)
p_playlist
->
i_index
=
0
;
if
(
p_playlist
->
i_index
<
0
)
p_playlist
->
i_index
=
0
;
if
(
p_new
==
NULL
)
p_new
=
p_playlist
->
pp_items
[
p_playlist
->
i_index
];
p_new
=
p_playlist
->
pp_items
[
p_playlist
->
i_index
];
if
(
i_goto
>=
0
&&
i_goto
<
p_playlist
->
i_size
)
if
(
i_goto
>=
0
&&
i_goto
<
p_playlist
->
i_size
)
...
@@ -964,7 +966,7 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
...
@@ -964,7 +966,7 @@ static playlist_item_t * NextItem( playlist_t *p_playlist )
if
(
p_playlist
->
status
.
i_view
==
-
1
)
if
(
p_playlist
->
status
.
i_view
==
-
1
)
{
{
#ifdef PLAYLIST_DEBUG
#ifdef PLAYLIST_DEBUG
msg_Dbg
(
p_playlist
,
"no request - old mode"
);
msg_Dbg
(
p_playlist
,
"no request - old mode"
);
#endif
#endif
if
(
p_playlist
->
i_index
+
1
<
p_playlist
->
i_size
)
if
(
p_playlist
->
i_index
+
1
<
p_playlist
->
i_size
)
{
{
...
...
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