Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
01985075
Commit
01985075
authored
Mar 29, 2012
by
Aurelien Nephtali
Committed by
Rafaël Carré
Mar 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix --sout-ffmpeg-codec
Signed-off-by:
Rafaël Carré
<
funman@videolan.org
>
parent
789cb0bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/codec/avcodec/encoder.c
modules/codec/avcodec/encoder.c
+2
-2
No files found.
modules/codec/avcodec/encoder.c
View file @
01985075
...
@@ -202,6 +202,8 @@ int OpenEncoder( vlc_object_t *p_this )
...
@@ -202,6 +202,8 @@ int OpenEncoder( vlc_object_t *p_this )
float
f_val
;
float
f_val
;
char
*
psz_val
;
char
*
psz_val
;
config_ChainParse
(
p_enc
,
ENC_CFG_PREFIX
,
ppsz_enc_options
,
p_enc
->
p_cfg
);
if
(
p_enc
->
fmt_out
.
i_codec
==
VLC_CODEC_MP3
)
if
(
p_enc
->
fmt_out
.
i_codec
==
VLC_CODEC_MP3
)
{
{
i_cat
=
AUDIO_ES
;
i_cat
=
AUDIO_ES
;
...
@@ -334,8 +336,6 @@ int OpenEncoder( vlc_object_t *p_this )
...
@@ -334,8 +336,6 @@ int OpenEncoder( vlc_object_t *p_this )
p_context
->
dsp_mask
|=
AV_CPU_FLAG_SSE2
;
p_context
->
dsp_mask
|=
AV_CPU_FLAG_SSE2
;
}
}
config_ChainParse
(
p_enc
,
ENC_CFG_PREFIX
,
ppsz_enc_options
,
p_enc
->
p_cfg
);
p_sys
->
i_key_int
=
var_GetInteger
(
p_enc
,
ENC_CFG_PREFIX
"keyint"
);
p_sys
->
i_key_int
=
var_GetInteger
(
p_enc
,
ENC_CFG_PREFIX
"keyint"
);
p_sys
->
i_b_frames
=
var_GetInteger
(
p_enc
,
ENC_CFG_PREFIX
"bframes"
);
p_sys
->
i_b_frames
=
var_GetInteger
(
p_enc
,
ENC_CFG_PREFIX
"bframes"
);
p_sys
->
i_vtolerance
=
var_GetInteger
(
p_enc
,
ENC_CFG_PREFIX
"vt"
)
*
1000
;
p_sys
->
i_vtolerance
=
var_GetInteger
(
p_enc
,
ENC_CFG_PREFIX
"vt"
)
*
1000
;
...
...
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