Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
cf81284b
Commit
cf81284b
authored
Jan 22, 2019
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/g723_1enc: Set the default bitrate to 6300.
parent
ee1c63eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
g723_1enc.c
libavcodec/g723_1enc.c
+6
-0
No files found.
libavcodec/g723_1enc.c
View file @
cf81284b
...
@@ -1191,6 +1191,11 @@ static int g723_1_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
...
@@ -1191,6 +1191,11 @@ static int g723_1_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
return
0
;
return
0
;
}
}
static
const
AVCodecDefault
defaults
[]
=
{
{
"b"
,
"6300"
},
{
NULL
},
};
AVCodec
ff_g723_1_encoder
=
{
AVCodec
ff_g723_1_encoder
=
{
.
name
=
"g723_1"
,
.
name
=
"g723_1"
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"G.723.1"
),
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"G.723.1"
),
...
@@ -1199,6 +1204,7 @@ AVCodec ff_g723_1_encoder = {
...
@@ -1199,6 +1204,7 @@ AVCodec ff_g723_1_encoder = {
.
priv_data_size
=
sizeof
(
G723_1_Context
),
.
priv_data_size
=
sizeof
(
G723_1_Context
),
.
init
=
g723_1_encode_init
,
.
init
=
g723_1_encode_init
,
.
encode2
=
g723_1_encode_frame
,
.
encode2
=
g723_1_encode_frame
,
.
defaults
=
defaults
,
.
sample_fmts
=
(
const
enum
AVSampleFormat
[])
{
.
sample_fmts
=
(
const
enum
AVSampleFormat
[])
{
AV_SAMPLE_FMT_S16
,
AV_SAMPLE_FMT_NONE
AV_SAMPLE_FMT_S16
,
AV_SAMPLE_FMT_NONE
},
},
...
...
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