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
ed5fcd60
Commit
ed5fcd60
authored
Apr 02, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: deprecate rate_emu
It's not used anywhere and apparrently hasn't been for a very long time.
parent
8ed2ae09
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
avcodec.h
libavcodec/avcodec.h
+3
-1
options.c
libavcodec/options.c
+2
-0
version.h
libavcodec/version.h
+3
-0
No files found.
libavcodec/avcodec.h
View file @
ed5fcd60
...
...
@@ -1208,13 +1208,15 @@ typedef struct AVCodecContext {
*/
enum
PixelFormat
pix_fmt
;
#if FF_API_RATE_EMU
/**
* Frame rate emulation. If not zero, the lower layer (i.e. format handler)
* has to read frames at native frame rate.
* - encoding: Set by user.
* - decoding: unused
*/
int
rate_emu
;
attribute_deprecated
int
rate_emu
;
#endif
/**
* If non NULL, 'draw_horiz_band' is called by the libavcodec
...
...
libavcodec/options.c
View file @
ed5fcd60
...
...
@@ -105,7 +105,9 @@ static const AVOption options[]={
{
"extradata_size"
,
NULL
,
OFFSET
(
extradata_size
),
FF_OPT_TYPE_INT
,
DEFAULT
,
INT_MIN
,
INT_MAX
},
{
"time_base"
,
NULL
,
OFFSET
(
time_base
),
FF_OPT_TYPE_RATIONAL
,
DEFAULT
,
INT_MIN
,
INT_MAX
},
{
"g"
,
"set the group of picture size"
,
OFFSET
(
gop_size
),
FF_OPT_TYPE_INT
,
12
,
INT_MIN
,
INT_MAX
,
V
|
E
},
#if FF_API_RATE_EMU
{
"rate_emu"
,
"frame rate emulation"
,
OFFSET
(
rate_emu
),
FF_OPT_TYPE_INT
,
DEFAULT
,
INT_MIN
,
INT_MAX
},
#endif
{
"ar"
,
"set audio sampling rate (in Hz)"
,
OFFSET
(
sample_rate
),
FF_OPT_TYPE_INT
,
DEFAULT
,
INT_MIN
,
INT_MAX
},
{
"ac"
,
"set number of audio channels"
,
OFFSET
(
channels
),
FF_OPT_TYPE_INT
,
DEFAULT
,
INT_MIN
,
INT_MAX
},
{
"cutoff"
,
"set cutoff bandwidth"
,
OFFSET
(
cutoff
),
FF_OPT_TYPE_INT
,
DEFAULT
,
INT_MIN
,
INT_MAX
,
A
|
E
},
...
...
libavcodec/version.h
View file @
ed5fcd60
...
...
@@ -74,5 +74,8 @@
#ifndef FF_API_HURRY_UP
#define FF_API_HURRY_UP (LIBAVCODEC_VERSION_MAJOR < 53)
#endif
#ifndef FF_API_RATE_EMU
#define FF_API_RATE_EMU (LIBAVCODEC_VERSION_MAJOR < 53)
#endif
#endif
/* AVCODEC_VERSION_H */
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