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
8ea35af7
Commit
8ea35af7
authored
Sep 27, 2016
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avio: add a new flag for marking streams seekable by timestamp
parent
75c1db61
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
2 deletions
+13
-2
APIchanges
doc/APIchanges
+3
-0
avio.h
libavformat/avio.h
+5
-0
aviobuf.c
libavformat/aviobuf.c
+3
-0
version.h
libavformat/version.h
+2
-2
No files found.
doc/APIchanges
View file @
8ea35af7
...
...
@@ -13,6 +13,9 @@ libavutil: 2015-08-28
API changes, most recent first:
2016-xx-xx - xxxxxxx - lavf 57.08.0 - avio.h
Add AVIO_SEEKABLE_TIME flag.
2016-xx-xx - xxxxxxx - lavu 55.22.0 - pixfmt.h
Add AV_PIX_FMT_YUV(420,422,444)P12.
...
...
libavformat/avio.h
View file @
8ea35af7
...
...
@@ -39,6 +39,11 @@
*/
#define AVIO_SEEKABLE_NORMAL (1 << 0)
/**
* Seeking by timestamp with avio_seek_time() is possible.
*/
#define AVIO_SEEKABLE_TIME (1 << 1)
/**
* Callback for checking whether to abort blocking functions.
* AVERROR_EXIT is returned in this case by the interrupted
...
...
libavformat/aviobuf.c
View file @
8ea35af7
...
...
@@ -846,6 +846,9 @@ int ffio_fdopen(AVIOContext **s, URLContext *h)
if
(
h
->
prot
)
{
(
*
s
)
->
read_pause
=
io_read_pause
;
(
*
s
)
->
read_seek
=
io_read_seek
;
if
(
h
->
prot
->
url_read_seek
)
(
*
s
)
->
seekable
|=
AVIO_SEEKABLE_TIME
;
}
(
*
s
)
->
av_class
=
&
ff_avio_class
;
return
0
;
...
...
libavformat/version.h
View file @
8ea35af7
...
...
@@ -30,8 +30,8 @@
#include "libavutil/version.h"
#define LIBAVFORMAT_VERSION_MAJOR 57
#define LIBAVFORMAT_VERSION_MINOR
7
#define LIBAVFORMAT_VERSION_MICRO
1
#define LIBAVFORMAT_VERSION_MINOR
8
#define LIBAVFORMAT_VERSION_MICRO
0
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
LIBAVFORMAT_VERSION_MINOR, \
...
...
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