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
6b177dca
Commit
6b177dca
authored
Aug 22, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ninput: added wrappers to stream_Control.
parent
74537f6f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
1 deletion
+21
-1
include/ninput.h
include/ninput.h
+21
-1
No files found.
include/ninput.h
View file @
6b177dca
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* ninput.h
* ninput.h
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* Copyright (C) 1999-2001 VideoLAN
* $Id: ninput.h,v 1.
5 2003/08/18 19:17:54
fenrir Exp $
* $Id: ninput.h,v 1.
6 2003/08/22 20:29:58
fenrir Exp $
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
...
@@ -47,6 +47,26 @@ enum stream_query_e
...
@@ -47,6 +47,26 @@ enum stream_query_e
STREAM_GET_SIZE
,
/**< arg1= int64_t * res=cannot fail (0 if no sense)*/
STREAM_GET_SIZE
,
/**< arg1= int64_t * res=cannot fail (0 if no sense)*/
};
};
static
int64_t
inline
stream_Tell
(
stream_t
*
s
)
{
int64_t
i_pos
;
stream_Control
(
s
,
STREAM_GET_POSITION
,
&
i_pos
);
return
i_pos
;
}
static
int64_t
inline
stream_Size
(
stream_t
*
s
)
{
int64_t
i_pos
;
stream_Control
(
s
,
STREAM_GET_SIZE
,
&
i_pos
);
return
i_pos
;
}
static
int
inline
stream_Seek
(
stream_t
*
s
,
int64_t
i_pos
)
{
return
stream_Control
(
s
,
STREAM_SET_POSITION
,
i_pos
);
}
/* Stream */
/* Stream */
VLC_EXPORT
(
stream_t
*
,
stream_OpenInput
,
(
input_thread_t
*
)
);
VLC_EXPORT
(
stream_t
*
,
stream_OpenInput
,
(
input_thread_t
*
)
);
VLC_EXPORT
(
void
,
stream_Release
,
(
stream_t
*
)
);
VLC_EXPORT
(
void
,
stream_Release
,
(
stream_t
*
)
);
...
...
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