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
ae3231b3
Commit
ae3231b3
authored
Oct 02, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/control/media_instance.c
src/control/media_instance.c
+7
-0
No files found.
src/control/media_instance.c
View file @
ae3231b3
...
@@ -214,6 +214,12 @@ libvlc_media_instance_new( libvlc_instance_t * p_libvlc_instance,
...
@@ -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_event_manager_register_event_type
(
p_mi
->
p_event_manager
,
libvlc_MediaInstanceReachedEnd
,
p_e
);
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
;
return
p_mi
;
}
}
...
@@ -353,6 +359,7 @@ void libvlc_media_instance_retain( libvlc_media_instance_t *p_mi )
...
@@ -353,6 +359,7 @@ void libvlc_media_instance_retain( libvlc_media_instance_t *p_mi )
p_mi
->
i_refcount
++
;
p_mi
->
i_refcount
++
;
}
}
/**************************************************************************
/**************************************************************************
* Set the Media descriptor associated with the instance
* Set the Media descriptor associated with the instance
**************************************************************************/
**************************************************************************/
...
...
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