Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
1de2db8f
Commit
1de2db8f
authored
Feb 25, 2009
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AVInputFormat.reed_seek2()
Originally committed as revision 17579 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
2b229186
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
avformat.h
libavformat/avformat.h
+11
-0
No files found.
libavformat/avformat.h
View file @
1de2db8f
...
@@ -333,6 +333,8 @@ typedef struct AVInputFormat {
...
@@ -333,6 +333,8 @@ typedef struct AVInputFormat {
/** Close the stream. The AVFormatContext and AVStreams are not
/** Close the stream. The AVFormatContext and AVStreams are not
freed by this function */
freed by this function */
int
(
*
read_close
)(
struct
AVFormatContext
*
);
int
(
*
read_close
)(
struct
AVFormatContext
*
);
#if LIBAVFORMAT_VERSION_MAJOR < 53
/**
/**
* Seek to a given timestamp relative to the frames in
* Seek to a given timestamp relative to the frames in
* stream component stream_index.
* stream component stream_index.
...
@@ -343,6 +345,7 @@ typedef struct AVInputFormat {
...
@@ -343,6 +345,7 @@ typedef struct AVInputFormat {
*/
*/
int
(
*
read_seek
)(
struct
AVFormatContext
*
,
int
(
*
read_seek
)(
struct
AVFormatContext
*
,
int
stream_index
,
int64_t
timestamp
,
int
flags
);
int
stream_index
,
int64_t
timestamp
,
int
flags
);
#endif
/**
/**
* Gets the next timestamp in stream[stream_index].time_base units.
* Gets the next timestamp in stream[stream_index].time_base units.
* @return the timestamp or AV_NOPTS_VALUE if an error occurred
* @return the timestamp or AV_NOPTS_VALUE if an error occurred
...
@@ -368,6 +371,14 @@ typedef struct AVInputFormat {
...
@@ -368,6 +371,14 @@ typedef struct AVInputFormat {
const
struct
AVCodecTag
*
const
*
codec_tag
;
const
struct
AVCodecTag
*
const
*
codec_tag
;
/**
* Seek to timestamp ts.
* Seeking will be done so that the point from which all active streams
* can be presented successfully will be closest to ts and within min/max_ts.
* Active streams are all streams that have AVStream.discard < AVDISCARD_ALL.
*/
int
(
*
reed_seek2
)(
struct
AVFormatContext
*
s
,
int
stream_index
,
int64_t
min_ts
,
int64_t
ts
,
int64_t
max_ts
,
int
flags
);
/* private fields */
/* private fields */
struct
AVInputFormat
*
next
;
struct
AVInputFormat
*
next
;
}
AVInputFormat
;
}
AVInputFormat
;
...
...
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