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
cbbe174a
Commit
cbbe174a
authored
Aug 08, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
control/media_instance.c: Listen to the variable changes.
parent
fa2c1699
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/control/media_instance.c
src/control/media_instance.c
+3
-1
No files found.
src/control/media_instance.c
View file @
cbbe174a
...
...
@@ -166,7 +166,7 @@ libvlc_media_instance_new( libvlc_instance_t * p_libvlc_instance,
free
(
p_mi
);
return
NULL
;
}
libvlc_event_manager_register_event_type
(
p_mi
->
p_event_manager
,
libvlc_MediaInstanceReachedEnd
,
p_e
);
...
...
@@ -395,6 +395,8 @@ void libvlc_media_instance_play( libvlc_media_instance_t *p_mi,
p_mi
->
p_md
->
p_input_item
);
p_mi
->
i_input_id
=
p_input_thread
->
i_object_id
;
var_AddCallback
(
p_input_thread
,
"state"
,
input_state_changed
,
p_mi
);
/* will be released in media_instance_release() */
vlc_object_yield
(
p_input_thread
);
...
...
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