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
5be88dcf
Commit
5be88dcf
authored
Jan 01, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pl_CurrentInput: more specific prototype
parent
b3f95b95
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
include/vlc_playlist.h
include/vlc_playlist.h
+4
-3
No files found.
include/vlc_playlist.h
View file @
5be88dcf
...
@@ -33,6 +33,8 @@ extern "C" {
...
@@ -33,6 +33,8 @@ extern "C" {
TYPEDEF_ARRAY
(
playlist_item_t
*
,
playlist_item_array_t
)
TYPEDEF_ARRAY
(
playlist_item_t
*
,
playlist_item_array_t
)
struct
intf_thread_t
;
/**
/**
* \file
* \file
* This file contain structures and function prototypes related
* This file contain structures and function prototypes related
...
@@ -392,10 +394,9 @@ VLC_API void playlist_EnableAudioFilter( playlist_t *, const char *, bool );
...
@@ -392,10 +394,9 @@ VLC_API void playlist_EnableAudioFilter( playlist_t *, const char *, bool );
* Inline functions
* Inline functions
***********************************************************************/
***********************************************************************/
/** Small helper tp get current playing input or NULL. Release the input after use. */
/** Small helper tp get current playing input or NULL. Release the input after use. */
#define pl_CurrentInput(a) __pl_CurrentInput( VLC_OBJECT(a) )
static
inline
input_thread_t
*
pl_CurrentInput
(
struct
intf_thread_t
*
intf
)
static
inline
input_thread_t
*
__pl_CurrentInput
(
vlc_object_t
*
p_this
)
{
{
return
playlist_CurrentInput
(
pl_Get
(
p_this
)
);
return
playlist_CurrentInput
(
pl_Get
(
(
vlc_object_t
*
)
intf
)
);
}
}
/** Tell if the playlist is empty */
/** Tell if the playlist is empty */
...
...
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