Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
998ebb85
Commit
998ebb85
authored
Feb 07, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input: remove leading underscores
parent
a87edce4
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
32 deletions
+33
-32
include/vlc_input.h
include/vlc_input.h
+8
-8
include/vlc_input_item.h
include/vlc_input_item.h
+4
-4
src/input/input.c
src/input/input.c
+10
-9
src/input/item.c
src/input/item.c
+7
-7
src/libvlccore.sym
src/libvlccore.sym
+4
-4
No files found.
include/vlc_input.h
View file @
998ebb85
...
...
@@ -23,8 +23,8 @@
*****************************************************************************/
/* __ is need because conflict with <vlc/input.h> */
#ifndef VLC_
_
INPUT_H
#define VLC_
_
INPUT_H 1
#ifndef VLC_INPUT_H
#define VLC_INPUT_H 1
/**
* \file
...
...
@@ -526,18 +526,18 @@ enum input_query_e
* Prototypes
*****************************************************************************/
#define input_Create(a,b,c,d) __input_Create(VLC_OBJECT(a),b,c,d)
VLC_EXPORT
(
input_thread_t
*
,
__input_Create
,
(
vlc_object_t
*
p_parent
,
input_item_t
*
,
const
char
*
psz_log
,
input_resource_t
*
)
);
VLC_EXPORT
(
input_thread_t
*
,
input_Create
,
(
vlc_object_t
*
p_parent
,
input_item_t
*
,
const
char
*
psz_log
,
input_resource_t
*
)
);
#define input_Create(a,b,c,d) input_Create(VLC_OBJECT(a),b,c,d)
#define input_CreateAndStart(a,b,c) __input_CreateAndStart(VLC_OBJECT(a),b,c)
VLC_EXPORT
(
input_thread_t
*
,
__input_CreateAndStart
,
(
vlc_object_t
*
p_parent
,
input_item_t
*
,
const
char
*
psz_log
)
);
VLC_EXPORT
(
input_thread_t
*
,
input_CreateAndStart
,
(
vlc_object_t
*
p_parent
,
input_item_t
*
,
const
char
*
psz_log
)
);
#define input_CreateAndStart(a,b,c) input_CreateAndStart(VLC_OBJECT(a),b,c)
VLC_EXPORT
(
int
,
input_Start
,
(
input_thread_t
*
)
);
VLC_EXPORT
(
void
,
input_Stop
,
(
input_thread_t
*
,
bool
b_abort
)
);
#define input_Read(a,b) __input_Read(VLC_OBJECT(a),b)
VLC_EXPORT
(
int
,
__input_Read
,
(
vlc_object_t
*
,
input_item_t
*
)
);
VLC_EXPORT
(
int
,
input_Read
,
(
vlc_object_t
*
,
input_item_t
*
)
);
#define input_Read(a,b) input_Read(VLC_OBJECT(a),b)
VLC_EXPORT
(
int
,
input_vaControl
,(
input_thread_t
*
,
int
i_query
,
va_list
)
);
...
...
include/vlc_input_item.h
View file @
998ebb85
...
...
@@ -22,8 +22,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifndef VLC_
_
INPUT_ITEM_H
#define VLC_
_
INPUT_ITEM_H 1
#ifndef VLC_INPUT_ITEM_H
#define VLC_INPUT_ITEM_H 1
/**
* \file
...
...
@@ -254,8 +254,8 @@ VLC_EXPORT( input_item_t *, input_item_NewWithType, ( vlc_object_t *, const char
*
* Provided for convenience.
*/
#define input_item_NewExt(a,b,c,d,e,f,g) __input_item_NewExt( VLC_OBJECT(a),b,c,d,e,f,g)
VLC_EXPORT
(
input_item_t
*
,
__input_item_NewExt
,
(
vlc_object_t
*
,
const
char
*
psz_uri
,
const
char
*
psz_name
,
int
i_options
,
const
char
*
const
*
ppsz_options
,
unsigned
i_option_flags
,
mtime_t
i_duration
)
);
VLC_EXPORT
(
input_item_t
*
,
input_item_NewExt
,
(
vlc_object_t
*
,
const
char
*
psz_uri
,
const
char
*
psz_name
,
int
i_options
,
const
char
*
const
*
ppsz_options
,
unsigned
i_option_flags
,
mtime_t
i_duration
)
);
#define input_item_NewExt(a,b,c,d,e,f,g) input_item_NewExt( VLC_OBJECT(a),b,c,d,e,f,g)
/**
* This function creates a new input_item_t with the provided informations.
...
...
src/input/input.c
View file @
998ebb85
...
...
@@ -112,6 +112,7 @@ static void input_ChangeState( input_thread_t *p_input, int i_state ); /* TODO f
/* Do not let a pts_delay from access/demux go beyong 60s */
#define INPUT_PTS_DELAY_MAX INT64_C(60000000)
#undef input_Create
/**
* Create a new input_thread_t.
*
...
...
@@ -124,15 +125,14 @@ static void input_ChangeState( input_thread_t *p_input, int i_state ); /* TODO f
* \param p_resource an optional input ressource
* \return a pointer to the spawned input thread
*/
input_thread_t
*
__input_Create
(
vlc_object_t
*
p_parent
,
input_thread_t
*
input_Create
(
vlc_object_t
*
p_parent
,
input_item_t
*
p_item
,
const
char
*
psz_log
,
input_resource_t
*
p_resource
)
{
return
Create
(
p_parent
,
p_item
,
psz_log
,
false
,
p_resource
);
}
#undef input_CreateAndStart
/**
* Create a new input_thread_t and start it.
*
...
...
@@ -140,10 +140,10 @@ input_thread_t *__input_Create( vlc_object_t *p_parent,
*
* \see input_Create
*/
input_thread_t
*
__
input_CreateAndStart
(
vlc_object_t
*
p_parent
,
input_thread_t
*
input_CreateAndStart
(
vlc_object_t
*
p_parent
,
input_item_t
*
p_item
,
const
char
*
psz_log
)
{
input_thread_t
*
p_input
=
__
input_Create
(
p_parent
,
p_item
,
psz_log
,
NULL
);
input_thread_t
*
p_input
=
input_Create
(
p_parent
,
p_item
,
psz_log
,
NULL
);
if
(
input_Start
(
p_input
)
)
{
...
...
@@ -153,6 +153,7 @@ input_thread_t *__input_CreateAndStart( vlc_object_t *p_parent,
return
p_input
;
}
#undef input_Read
/**
* Initialize an input thread and run it until it stops by itself.
*
...
...
@@ -160,7 +161,7 @@ input_thread_t *__input_CreateAndStart( vlc_object_t *p_parent,
* \param p_item an input item
* \return an error code, VLC_SUCCESS on success
*/
int
__
input_Read
(
vlc_object_t
*
p_parent
,
input_item_t
*
p_item
)
int
input_Read
(
vlc_object_t
*
p_parent
,
input_item_t
*
p_item
)
{
input_thread_t
*
p_input
=
Create
(
p_parent
,
p_item
,
NULL
,
false
,
NULL
);
if
(
!
p_input
)
...
...
src/input/item.c
View file @
998ebb85
...
...
@@ -812,8 +812,8 @@ void input_item_SetEpgOffline( input_item_t *p_item )
vlc_event_send
(
&
p_item
->
event_manager
,
&
event
);
}
input_item_t
*
__
input_item_NewExt
(
vlc_object_t
*
p_obj
,
const
char
*
psz_uri
,
#undef input_item_NewExt
input_item_t
*
input_item_NewExt
(
vlc_object_t
*
p_obj
,
const
char
*
psz_uri
,
const
char
*
psz_name
,
int
i_options
,
const
char
*
const
*
ppsz_options
,
...
...
src/libvlccore.sym
View file @
998ebb85
...
...
@@ -178,8 +178,8 @@ image_Mime2Fourcc
image_Type2Fourcc
InitMD5
input_Control
__
input_Create
__
input_CreateAndStart
input_Create
input_CreateAndStart
input_CreateFilename
input_DecoderDecode
input_DecoderDelete
...
...
@@ -201,7 +201,7 @@ input_item_IsArtFetched
input_item_IsPreparsed
input_item_MetaMatch
input_item_MergeInfos
__
input_item_NewExt
input_item_NewExt
input_item_NewWithType
input_item_node_AppendItem
input_item_node_AppendNode
...
...
@@ -215,7 +215,7 @@ input_item_SetMeta
input_item_SetName
input_item_SetURI
input_item_WriteMeta
__
input_Read
input_Read
input_resource_Delete
input_SplitMRL
input_Start
...
...
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