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
72dc7ddd
Commit
72dc7ddd
authored
Dec 05, 2016
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: Drop deprecated error rate option
Deprecated in 10/2013.
parent
dcc39ee1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
22 deletions
+0
-22
avcodec.h
libavcodec/avcodec.h
+0
-9
mpegvideo_enc.c
libavcodec/mpegvideo_enc.c
+0
-7
options_table.h
libavcodec/options_table.h
+0
-3
version.h
libavcodec/version.h
+0
-3
No files found.
libavcodec/avcodec.h
View file @
72dc7ddd
...
...
@@ -2958,15 +2958,6 @@ typedef struct AVCodecContext {
uint8_t
*
subtitle_header
;
int
subtitle_header_size
;
#if FF_API_ERROR_RATE
/**
* @deprecated use the 'error_rate' private AVOption of the mpegvideo
* encoders
*/
attribute_deprecated
int
error_rate
;
#endif
#if FF_API_VBV_DELAY
/**
* VBV delay coded in the last frame (in periods of a 27 MHz clock).
...
...
libavcodec/mpegvideo_enc.c
View file @
72dc7ddd
...
...
@@ -874,13 +874,6 @@ FF_ENABLE_DEPRECATION_WARNINGS
if
(
ff_rate_control_init
(
s
)
<
0
)
return
-
1
;
#if FF_API_ERROR_RATE
FF_DISABLE_DEPRECATION_WARNINGS
if
(
avctx
->
error_rate
)
s
->
error_rate
=
avctx
->
error_rate
;
FF_ENABLE_DEPRECATION_WARNINGS
;
#endif
#if FF_API_NORMALIZE_AQP
FF_DISABLE_DEPRECATION_WARNINGS
if
(
avctx
->
flags
&
CODEC_FLAG_NORMALIZE_AQP
)
...
...
libavcodec/options_table.h
View file @
72dc7ddd
...
...
@@ -313,9 +313,6 @@ static const AVOption avcodec_options[] = {
#endif
{
"rc_init_occupancy"
,
"number of bits which should be loaded into the rc buffer before decoding starts"
,
OFFSET
(
rc_initial_buffer_occupancy
),
AV_OPT_TYPE_INT
,
{.
i64
=
DEFAULT
},
INT_MIN
,
INT_MAX
,
V
|
E
},
{
"flags2"
,
NULL
,
OFFSET
(
flags2
),
AV_OPT_TYPE_FLAGS
,
{.
i64
=
DEFAULT
},
0
,
UINT_MAX
,
V
|
A
|
E
|
D
,
"flags2"
},
#if FF_API_ERROR_RATE
{
"error"
,
NULL
,
OFFSET
(
error_rate
),
AV_OPT_TYPE_INT
,
{.
i64
=
DEFAULT
},
INT_MIN
,
INT_MAX
,
V
|
E
},
#endif
{
"threads"
,
NULL
,
OFFSET
(
thread_count
),
AV_OPT_TYPE_INT
,
{.
i64
=
1
},
0
,
INT_MAX
,
V
|
E
|
D
,
"threads"
},
{
"auto"
,
"autodetect a suitable number of threads to use"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
0
},
INT_MIN
,
INT_MAX
,
V
|
E
|
D
,
"threads"
},
#if FF_API_MPV_OPT
...
...
libavcodec/version.h
View file @
72dc7ddd
...
...
@@ -47,9 +47,6 @@
* the public API and may change, break or disappear at any time.
*/
#ifndef FF_API_ERROR_RATE
#define FF_API_ERROR_RATE (LIBAVCODEC_VERSION_MAJOR < 58)
#endif
#ifndef FF_API_QSCALE_TYPE
#define FF_API_QSCALE_TYPE (LIBAVCODEC_VERSION_MAJOR < 58)
#endif
...
...
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