Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
cdc9ce09
Commit
cdc9ce09
authored
Dec 30, 2014
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: print the name of the codec, not its implementation, in avcodec_string
parent
6bf4c1d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
utils.c
libavcodec/utils.c
+5
-2
No files found.
libavcodec/utils.c
View file @
cdc9ce09
...
...
@@ -1754,6 +1754,7 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode)
int
bitrate
;
int
new_line
=
0
;
AVRational
display_aspect_ratio
;
const
AVCodecDescriptor
*
desc
=
avcodec_descriptor_get
(
enc
->
codec_id
);
if
(
enc
->
codec
)
p
=
enc
->
codec
;
...
...
@@ -1762,9 +1763,11 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode)
else
p
=
avcodec_find_decoder
(
enc
->
codec_id
);
if
(
p
)
{
codec_name
=
p
->
name
;
if
(
p
)
profile
=
av_get_profile_name
(
p
,
enc
->
profile
);
if
(
desc
)
{
codec_name
=
desc
->
name
;
}
else
if
(
enc
->
codec_id
==
AV_CODEC_ID_MPEG2TS
)
{
/* fake mpeg2 transport stream codec (currently not
* registered) */
...
...
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