Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
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
Steve Lhomme
VLC
Commits
afcdb682
Commit
afcdb682
authored
Apr 18, 2017
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
codec/demux: output version and provider in debug
parent
8ea27132
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
1 deletion
+9
-1
modules/codec/avcodec/avcodec.c
modules/codec/avcodec/avcodec.c
+2
-0
modules/codec/avcodec/avcommon_compat.h
modules/codec/avcodec/avcommon_compat.h
+2
-0
modules/codec/avcodec/encoder.c
modules/codec/avcodec/encoder.c
+2
-0
modules/demux/avformat/demux.c
modules/demux/avformat/demux.c
+1
-1
modules/demux/avformat/mux.c
modules/demux/avformat/mux.c
+2
-0
No files found.
modules/codec/avcodec/avcodec.c
View file @
afcdb682
...
...
@@ -264,6 +264,8 @@ static int OpenDecoder( vlc_object_t *p_this )
return
VLC_EGENERIC
;
}
msg_Dbg
(
p_this
,
"using %s %s"
,
AVPROVIDER
(
LIBAVCODEC
),
LIBAVCODEC_IDENT
);
/* Initialization must be done before avcodec_find_decoder() */
vlc_init_avcodec
(
p_this
);
...
...
modules/codec/avcodec/avcommon_compat.h
View file @
afcdb682
...
...
@@ -25,6 +25,8 @@
#ifndef AVCOMMON_COMPAT_H
#define AVCOMMON_COMPAT_H 1
#define AVPROVIDER(lib) ((lib##_VERSION_MICRO < 100) ? "libav" : "ffmpeg")
#ifdef HAVE_LIBAVCODEC_AVCODEC_H
#include <libavcodec/avcodec.h>
...
...
modules/codec/avcodec/encoder.c
View file @
afcdb682
...
...
@@ -378,6 +378,8 @@ int OpenEncoder( vlc_object_t *p_this )
float
f_val
;
char
*
psz_val
;
msg_Dbg
(
p_this
,
"using %s %s"
,
AVPROVIDER
(
LIBAVCODEC
),
LIBAVCODEC_IDENT
);
/* Initialization must be done before avcodec_find_encoder() */
vlc_init_avcodec
(
p_this
);
...
...
modules/demux/avformat/demux.c
View file @
afcdb682
...
...
@@ -649,7 +649,7 @@ int OpenDemux( vlc_object_t *p_this )
if
(
p_sys
->
ic
->
start_time
!=
(
int64_t
)
AV_NOPTS_VALUE
)
i_start_time
=
p_sys
->
ic
->
start_time
*
1000000
/
AV_TIME_BASE
;
msg_Dbg
(
p_demux
,
"AVFormat
supported stream"
);
msg_Dbg
(
p_demux
,
"AVFormat
(%s %s) supported stream"
,
AVPROVIDER
(
LIBAVFORMAT
),
LIBAVFORMAT_IDENT
);
msg_Dbg
(
p_demux
,
" - format = %s (%s)"
,
p_sys
->
fmt
->
name
,
p_sys
->
fmt
->
long_name
);
msg_Dbg
(
p_demux
,
" - start time = %"
PRId64
,
i_start_time
);
...
...
modules/demux/avformat/mux.c
View file @
afcdb682
...
...
@@ -94,6 +94,8 @@ int OpenMux( vlc_object_t *p_this )
>=
sizeof
(((
AVFormatContext
*
)
NULL
)
->
filename
)
)
return
VLC_EGENERIC
;
msg_Dbg
(
p_mux
,
"using %s %s"
,
AVPROVIDER
(
LIBAVFORMAT
),
LIBAVFORMAT_IDENT
);
vlc_init_avformat
(
p_this
);
config_ChainParse
(
p_mux
,
"sout-avformat-"
,
ppsz_mux_options
,
p_mux
->
p_cfg
);
...
...
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