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
ace6fa76
Commit
ace6fa76
authored
Jun 14, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
events: vlc_input_state_changed->input_state_changed
parent
788413cf
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
include/vlc_events.h
include/vlc_events.h
+1
-1
src/control/media_player.c
src/control/media_player.c
+1
-1
src/input/input_internal.h
src/input/input_internal.h
+1
-1
No files found.
include/vlc_events.h
View file @
ace6fa76
...
@@ -141,7 +141,7 @@ typedef struct vlc_event_t
...
@@ -141,7 +141,7 @@ typedef struct vlc_event_t
struct
vlc_input_state_changed
struct
vlc_input_state_changed
{
{
int
new_state
;
int
new_state
;
}
vlc_
input_state_changed
;
}
input_state_changed
;
/* Input item events */
/* Input item events */
struct
vlc_input_item_meta_changed
struct
vlc_input_item_meta_changed
...
...
src/control/media_player.c
View file @
ace6fa76
...
@@ -140,7 +140,7 @@ input_state_changed( const vlc_event_t * event, void * p_userdata )
...
@@ -140,7 +140,7 @@ input_state_changed( const vlc_event_t * event, void * p_userdata )
{
{
libvlc_media_player_t
*
p_mi
=
p_userdata
;
libvlc_media_player_t
*
p_mi
=
p_userdata
;
libvlc_event_t
forwarded_event
;
libvlc_event_t
forwarded_event
;
libvlc_event_type_t
type
=
event
->
u
.
vlc_
input_state_changed
.
new_state
;
libvlc_event_type_t
type
=
event
->
u
.
input_state_changed
.
new_state
;
switch
(
type
)
switch
(
type
)
{
{
...
...
src/input/input_internal.h
View file @
ace6fa76
...
@@ -392,7 +392,7 @@ static inline void input_ChangeState( input_thread_t *p_input, int state )
...
@@ -392,7 +392,7 @@ static inline void input_ChangeState( input_thread_t *p_input, int state )
{
{
vlc_event_t
event
;
vlc_event_t
event
;
event
.
type
=
vlc_InputStateChanged
;
event
.
type
=
vlc_InputStateChanged
;
event
.
u
.
vlc_
input_state_changed
.
new_state
=
state
;
event
.
u
.
input_state_changed
.
new_state
=
state
;
vlc_event_send
(
&
p_input
->
p
->
event_manager
,
&
event
);
vlc_event_send
(
&
p_input
->
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