Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
902f8937
Commit
902f8937
authored
Apr 22, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ffmpeg: added a ffmpeg-debug option (control libavcodec debug
messages).
parent
cfdc77d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
modules/codec/ffmpeg/ffmpeg.c
modules/codec/ffmpeg/ffmpeg.c
+2
-0
modules/codec/ffmpeg/ffmpeg.h
modules/codec/ffmpeg/ffmpeg.h
+3
-0
No files found.
modules/codec/ffmpeg/ffmpeg.c
View file @
902f8937
...
...
@@ -93,6 +93,7 @@ vlc_module_begin();
add_string
(
"ffmpeg-pp-name"
,
"default"
,
NULL
,
LIBAVCODEC_PP_TEXT
,
LIBAVCODEC_PP_LONGTEXT
,
VLC_TRUE
);
#endif
add_integer
(
"ffmpeg-debug"
,
0
,
NULL
,
DEBUG_TEST
,
DEBUG_LONGTEST
,
VLC_TRUE
);
/* chroma conversion submodule */
add_submodule
();
...
...
@@ -154,6 +155,7 @@ static int OpenDecoder( vlc_object_t *p_this )
/* *** get a p_context *** */
p_context
=
avcodec_alloc_context
();
p_context
->
debug
=
config_GetInt
(
p_dec
,
"ffmpeg-debug"
);
/* Set CPU capabilities */
p_context
->
dsp_mask
=
0
;
...
...
modules/codec/ffmpeg/ffmpeg.h
View file @
902f8937
...
...
@@ -108,6 +108,9 @@ void E_(ClosePostproc)( decoder_t *, void * );
"Higher levels require considerable more CPU power, but produce " \
"better looking pictures." )
#define DEBUG_TEST N_( "Debug mask" )
#define DEBUG_LONGTEST N_( "Set ffmpeg debug mask" )
#define LIBAVCODEC_PP_TEXT N_("ffmpeg postproc filter chains")
/* FIXME (cut/past from ffmpeg */
#define LIBAVCODEC_PP_LONGTEXT \
...
...
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