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
7d23abf0
Commit
7d23abf0
authored
May 25, 2007
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed input_ItemNewExt* prototype (mtime_t for duration, close #1205)
parent
68443863
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
include/vlc_input.h
include/vlc_input.h
+2
-2
src/input/item.c
src/input/item.c
+8
-4
No files found.
include/vlc_input.h
View file @
7d23abf0
...
@@ -190,8 +190,8 @@ VLC_EXPORT(int, input_ItemAddInfo, ( input_item_t *p_i, const char *psz_cat, con
...
@@ -190,8 +190,8 @@ VLC_EXPORT(int, input_ItemAddInfo, ( input_item_t *p_i, const char *psz_cat, con
#define input_ItemNew( a,b,c ) input_ItemNewExt( a, b, c, 0, NULL, -1 )
#define input_ItemNew( a,b,c ) input_ItemNewExt( a, b, c, 0, NULL, -1 )
#define input_ItemNewExt(a,b,c,d,e,f) __input_ItemNewExt( VLC_OBJECT(a),b,c,d,e,f)
#define input_ItemNewExt(a,b,c,d,e,f) __input_ItemNewExt( VLC_OBJECT(a),b,c,d,e,f)
VLC_EXPORT
(
input_item_t
*
,
__input_ItemNewExt
,
(
vlc_object_t
*
,
const
char
*
,
const
char
*
,
int
,
const
char
*
const
*
,
int
)
);
VLC_EXPORT
(
input_item_t
*
,
__input_ItemNewExt
,
(
vlc_object_t
*
,
const
char
*
,
const
char
*
,
int
,
const
char
*
const
*
,
mtime_t
i_duration
)
);
VLC_EXPORT
(
input_item_t
*
,
input_ItemNewWithType
,
(
vlc_object_t
*
,
const
char
*
,
const
char
*
e
,
int
,
const
char
*
const
*
,
int
,
int
)
);
VLC_EXPORT
(
input_item_t
*
,
input_ItemNewWithType
,
(
vlc_object_t
*
,
const
char
*
,
const
char
*
e
,
int
,
const
char
*
const
*
,
mtime_t
i_duration
,
int
)
);
VLC_EXPORT
(
input_item_t
*
,
input_ItemGetById
,
(
playlist_t
*
,
int
)
);
VLC_EXPORT
(
input_item_t
*
,
input_ItemGetById
,
(
playlist_t
*
,
int
)
);
...
...
src/input/item.c
View file @
7d23abf0
...
@@ -199,8 +199,10 @@ input_item_t *input_ItemGetById( playlist_t *p_playlist, int i_id )
...
@@ -199,8 +199,10 @@ input_item_t *input_ItemGetById( playlist_t *p_playlist, int i_id )
}
}
input_item_t
*
__input_ItemNewExt
(
vlc_object_t
*
p_obj
,
const
char
*
psz_uri
,
input_item_t
*
__input_ItemNewExt
(
vlc_object_t
*
p_obj
,
const
char
*
psz_uri
,
const
char
*
psz_name
,
int
i_options
,
const
char
*
psz_name
,
const
char
*
const
*
ppsz_options
,
int
i_duration
)
int
i_options
,
const
char
*
const
*
ppsz_options
,
mtime_t
i_duration
)
{
{
return
input_ItemNewWithType
(
p_obj
,
psz_uri
,
psz_name
,
return
input_ItemNewWithType
(
p_obj
,
psz_uri
,
psz_name
,
i_options
,
ppsz_options
,
i_options
,
ppsz_options
,
...
@@ -209,8 +211,10 @@ input_item_t *__input_ItemNewExt( vlc_object_t *p_obj, const char *psz_uri,
...
@@ -209,8 +211,10 @@ input_item_t *__input_ItemNewExt( vlc_object_t *p_obj, const char *psz_uri,
input_item_t
*
input_ItemNewWithType
(
vlc_object_t
*
p_obj
,
const
char
*
psz_uri
,
input_item_t
*
input_ItemNewWithType
(
vlc_object_t
*
p_obj
,
const
char
*
psz_uri
,
const
char
*
psz_name
,
int
i_options
,
const
char
*
psz_name
,
const
char
*
const
*
ppsz_options
,
int
i_duration
,
int
i_options
,
const
char
*
const
*
ppsz_options
,
mtime_t
i_duration
,
int
i_type
)
int
i_type
)
{
{
playlist_t
*
p_playlist
=
pl_Yield
(
p_obj
);
playlist_t
*
p_playlist
=
pl_Yield
(
p_obj
);
...
...
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