Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
ae3231b3
Commit
ae3231b3
authored
Oct 02, 2007
by
Pierre d'Herbemont
Browse files
control/media_instance.c: Don't forget to register emitted event. (Patch by Enrique Osuna).
parent
8c046e25
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/control/media_instance.c
View file @
ae3231b3
...
...
@@ -214,6 +214,12 @@ libvlc_media_instance_new( libvlc_instance_t * p_libvlc_instance,
libvlc_event_manager_register_event_type
(
p_mi
->
p_event_manager
,
libvlc_MediaInstanceReachedEnd
,
p_e
);
libvlc_event_manager_register_event_type
(
p_mi
->
p_event_manager
,
libvlc_MediaInstancePaused
,
p_e
);
libvlc_event_manager_register_event_type
(
p_mi
->
p_event_manager
,
libvlc_MediaInstancePlayed
,
p_e
);
libvlc_event_manager_register_event_type
(
p_mi
->
p_event_manager
,
libvlc_MediaInstancePositionChanged
,
p_e
);
return
p_mi
;
}
...
...
@@ -353,6 +359,7 @@ void libvlc_media_instance_retain( libvlc_media_instance_t *p_mi )
p_mi
->
i_refcount
++
;
}
/**************************************************************************
* Set the Media descriptor associated with the instance
**************************************************************************/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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