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
062b8861
Commit
062b8861
authored
Feb 04, 2013
by
Vittorio Giovara
Committed by
Rémi Denis-Courmont
Feb 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add gui option one libav/ffmpeg flag2 parameter
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
38bca927
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
modules/codec/avcodec/avcodec.c
modules/codec/avcodec/avcodec.c
+4
-0
modules/codec/avcodec/avcodec.h
modules/codec/avcodec/avcodec.h
+3
-0
modules/codec/avcodec/video.c
modules/codec/avcodec/video.c
+5
-0
No files found.
modules/codec/avcodec/avcodec.c
View file @
062b8861
...
@@ -129,6 +129,10 @@ vlc_module_begin ()
...
@@ -129,6 +129,10 @@ vlc_module_begin ()
SKIPLOOPF_LONGTEXT
,
false
)
SKIPLOOPF_LONGTEXT
,
false
)
change_safe
()
change_safe
()
change_integer_list
(
nloopf_list
,
nloopf_list_text
)
change_integer_list
(
nloopf_list
,
nloopf_list_text
)
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 54, 41, 0 )
add_bool
(
"avcodec-ignorecrop"
,
false
,
IGNORECROP_TEXT
,
IGNORECROP_LONGTEXT
,
true
)
#endif
add_obsolete_integer
(
"ffmpeg-debug"
)
/* removed since 2.1.0 */
add_obsolete_integer
(
"ffmpeg-debug"
)
/* removed since 2.1.0 */
add_integer
(
"avcodec-debug"
,
0
,
DEBUG_TEXT
,
DEBUG_LONGTEXT
,
add_integer
(
"avcodec-debug"
,
0
,
DEBUG_TEXT
,
DEBUG_LONGTEXT
,
...
...
modules/codec/avcodec/avcodec.h
View file @
062b8861
...
@@ -110,6 +110,9 @@ int ffmpeg_OpenCodec( decoder_t *p_dec );
...
@@ -110,6 +110,9 @@ int ffmpeg_OpenCodec( decoder_t *p_dec );
"Force skipping of idct to speed up decoding for frame types " \
"Force skipping of idct to speed up decoding for frame types " \
"(-1=None, 0=Default, 1=B-frames, 2=P-frames, 3=B+P frames, 4=all frames)." )
"(-1=None, 0=Default, 1=B-frames, 2=P-frames, 3=B+P frames, 4=all frames)." )
#define IGNORECROP_TEXT N_("Discard cropping information")
#define IGNORECROP_LONGTEXT N_("Discard internal cropping parameters (e.g. from H.264 SPS)." )
#define DEBUG_TEXT N_( "Debug mask" )
#define DEBUG_TEXT N_( "Debug mask" )
#define DEBUG_LONGTEXT N_( "Set FFmpeg debug mask" )
#define DEBUG_LONGTEXT N_( "Set FFmpeg debug mask" )
...
...
modules/codec/avcodec/video.c
View file @
062b8861
...
@@ -237,6 +237,11 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context,
...
@@ -237,6 +237,11 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context,
if
(
var_CreateGetBool
(
p_dec
,
"avcodec-fast"
)
)
if
(
var_CreateGetBool
(
p_dec
,
"avcodec-fast"
)
)
p_sys
->
p_context
->
flags2
|=
CODEC_FLAG2_FAST
;
p_sys
->
p_context
->
flags2
|=
CODEC_FLAG2_FAST
;
#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT( 54, 41, 0 )
if
(
var_InheritBool
(
p_dec
,
"avcodec-ignorecrop"
)
)
p_sys
->
p_context
->
flags2
|=
CODEC_FLAG2_IGNORE_CROP
;
#endif
/* ***** libavcodec frame skipping ***** */
/* ***** libavcodec frame skipping ***** */
p_sys
->
b_hurry_up
=
var_CreateGetBool
(
p_dec
,
"avcodec-hurry-up"
);
p_sys
->
b_hurry_up
=
var_CreateGetBool
(
p_dec
,
"avcodec-hurry-up"
);
...
...
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