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
312e655a
Commit
312e655a
authored
May 10, 2005
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix playlist behaviour with delete in HTTP intf (Closes #105)
parent
04bb2654
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/playlist/item-ext.c
src/playlist/item-ext.c
+5
-1
No files found.
src/playlist/item-ext.c
View file @
312e655a
...
@@ -630,6 +630,11 @@ int playlist_Delete( playlist_t * p_playlist, int i_id )
...
@@ -630,6 +630,11 @@ int playlist_Delete( playlist_t * p_playlist, int i_id )
{
{
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
if
(
p_item
->
i_children
>
-
1
)
{
return
playlist_NodeDelete
(
p_playlist
,
p_item
,
VLC_TRUE
,
VLC_FALSE
);
}
var_SetInteger
(
p_playlist
,
"item-deleted"
,
i_id
);
var_SetInteger
(
p_playlist
,
"item-deleted"
,
i_id
);
i_bottom
=
0
;
i_top
=
p_playlist
->
i_all_size
-
1
;
i_bottom
=
0
;
i_top
=
p_playlist
->
i_all_size
-
1
;
...
@@ -658,7 +663,6 @@ int playlist_Delete( playlist_t * p_playlist, int i_id )
...
@@ -658,7 +663,6 @@ int playlist_Delete( playlist_t * p_playlist, int i_id )
/* Hack we don't call playlist_Control for lock reasons */
/* Hack we don't call playlist_Control for lock reasons */
p_playlist
->
status
.
i_status
=
PLAYLIST_STOPPED
;
p_playlist
->
status
.
i_status
=
PLAYLIST_STOPPED
;
p_playlist
->
request
.
b_request
=
VLC_TRUE
;
p_playlist
->
request
.
b_request
=
VLC_TRUE
;
// p_playlist->status.p_item = NULL;
msg_Info
(
p_playlist
,
"stopping playback"
);
msg_Info
(
p_playlist
,
"stopping playback"
);
b_flag
=
VLC_TRUE
;
b_flag
=
VLC_TRUE
;
}
}
...
...
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