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
5a2dd0dd
Commit
5a2dd0dd
authored
Dec 25, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlc/libvlc.h: Set the return value of the libvlc_*_is_*() call to vlc_bool_t.
parent
85b9974d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
include/vlc/libvlc.h
include/vlc/libvlc.h
+2
-2
src/control/media_discoverer.c
src/control/media_discoverer.c
+1
-1
src/control/media_list_player.c
src/control/media_list_player.c
+3
-2
No files found.
include/vlc/libvlc.h
View file @
5a2dd0dd
...
...
@@ -719,7 +719,7 @@ VLC_PUBLIC_API void
libvlc_media_list_player_pause
(
libvlc_media_list_player_t
*
p_mlp
,
libvlc_exception_t
*
p_e
);
VLC_PUBLIC_API
in
t
VLC_PUBLIC_API
vlc_bool_
t
libvlc_media_list_player_is_playing
(
libvlc_media_list_player_t
*
p_mlp
,
libvlc_exception_t
*
p_e
);
...
...
@@ -1055,7 +1055,7 @@ VLC_PUBLIC_API libvlc_media_list_t * libvlc_media_discoverer_media_list( libvlc_
VLC_PUBLIC_API
libvlc_event_manager_t
*
libvlc_media_discoverer_event_manager
(
libvlc_media_discoverer_t
*
p_mdis
);
VLC_PUBLIC_API
in
t
VLC_PUBLIC_API
vlc_bool_
t
libvlc_media_discoverer_is_running
(
libvlc_media_discoverer_t
*
p_mdis
);
/**@} */
...
...
src/control/media_discoverer.c
View file @
5a2dd0dd
...
...
@@ -215,7 +215,7 @@ libvlc_media_discoverer_event_manager( libvlc_media_discoverer_t * p_mdis )
/**************************************************************************
* running (Public)
**************************************************************************/
in
t
vlc_bool_
t
libvlc_media_discoverer_is_running
(
libvlc_media_discoverer_t
*
p_mdis
)
{
return
p_mdis
->
running
;
...
...
src/control/media_list_player.c
View file @
5a2dd0dd
...
...
@@ -338,8 +338,9 @@ void libvlc_media_list_player_pause( libvlc_media_list_player_t * p_mlp,
/**************************************************************************
* is_playing (Public)
**************************************************************************/
int
libvlc_media_list_player_is_playing
(
libvlc_media_list_player_t
*
p_mlp
,
libvlc_exception_t
*
p_e
)
vlc_bool_t
libvlc_media_list_player_is_playing
(
libvlc_media_list_player_t
*
p_mlp
,
libvlc_exception_t
*
p_e
)
{
libvlc_state_t
state
=
libvlc_media_instance_get_state
(
p_mlp
->
p_mi
,
p_e
);
return
(
state
==
libvlc_Opening
)
||
(
state
==
libvlc_Buffering
)
||
...
...
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