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
198167d3
Commit
198167d3
authored
Dec 28, 2012
by
Edward Wang
Committed by
Jean-Baptiste Kempf
Dec 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
media_list_player: implement MediaListPlayerStopped
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
29928f30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
lib/media_list_player.c
lib/media_list_player.c
+9
-1
No files found.
lib/media_list_player.c
View file @
198167d3
...
...
@@ -470,7 +470,10 @@ libvlc_media_list_player_new(libvlc_instance_t * p_instance)
p_mlp
->
i_refcount
=
1
;
vlc_mutex_init
(
&
p_mlp
->
object_lock
);
vlc_mutex_init
(
&
p_mlp
->
mp_callback_lock
);
libvlc_event_manager_register_event_type
(
p_mlp
->
p_event_manager
,
libvlc_MediaListPlayerNextItemSet
);
libvlc_event_manager_register_event_type
(
p_mlp
->
p_event_manager
,
libvlc_MediaListPlayerNextItemSet
);
libvlc_event_manager_register_event_type
(
p_mlp
->
p_event_manager
,
libvlc_MediaListPlayerStopped
);
p_mlp
->
e_playback_mode
=
libvlc_playback_mode_default
;
return
p_mlp
;
...
...
@@ -700,6 +703,11 @@ static void stop(libvlc_media_list_player_t * p_mlp)
free
(
p_mlp
->
current_playing_item_path
);
p_mlp
->
current_playing_item_path
=
NULL
;
/* Send the event */
libvlc_event_t
event
;
event
.
type
=
libvlc_MediaListPlayerStopped
;
libvlc_event_send
(
p_mlp
->
p_event_manager
,
&
event
);
}
/**************************************************************************
...
...
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