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
2772acfe
Commit
2772acfe
authored
Jun 05, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib: use input "state" variable instead of b_dead
parent
239fcbc3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
lib/media_player.c
lib/media_player.c
+2
-3
No files found.
lib/media_player.c
View file @
2772acfe
...
...
@@ -1376,16 +1376,15 @@ float libvlc_media_player_get_fps( libvlc_media_player_t *p_mi )
int
libvlc_media_player_will_play
(
libvlc_media_player_t
*
p_mi
)
{
bool
b_will_play
;
input_thread_t
*
p_input_thread
=
libvlc_get_input_thread
(
p_mi
);
if
(
!
p_input_thread
)
return
false
;
b_will_play
=
!
p_input_thread
->
b_dead
;
int
state
=
var_GetInteger
(
p_input_thread
,
"state"
)
;
vlc_object_release
(
p_input_thread
);
return
b_will_play
;
return
state
!=
END_S
&&
state
!=
ERROR_S
;
}
int
libvlc_media_player_set_rate
(
libvlc_media_player_t
*
p_mi
,
float
rate
)
...
...
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