Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
31a92955
Commit
31a92955
authored
Mar 18, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use vlc_fourcc_GetDescription for item infos.
parent
e481f910
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
src/input/es_out.c
src/input/es_out.c
+10
-2
No files found.
src/input/es_out.c
View file @
31a92955
...
...
@@ -37,6 +37,7 @@
#include <vlc_es_out.h>
#include <vlc_block.h>
#include <vlc_aout.h>
#include <vlc_fourcc.h>
#include "input_internal.h"
#include "clock.h"
...
...
@@ -2677,8 +2678,15 @@ static void EsOutUpdateInfo( es_out_t *out, es_out_id_t *es, const es_format_t *
input_Control
(
p_input
,
INPUT_ADD_INFO
,
psz_cat
,
_
(
"Original ID"
),
"%d"
,
es
->
i_id
);
input_Control
(
p_input
,
INPUT_ADD_INFO
,
psz_cat
,
_
(
"Codec"
),
"%.4s"
,
(
char
*
)
&
p_fmt_es
->
i_codec
);
const
char
*
psz_codec_description
=
vlc_fourcc_GetDescription
(
p_fmt_es
->
i_cat
,
p_fmt_es
->
i_codec
);
const
vlc_fourcc_t
i_codec_fourcc
=
p_fmt_es
->
i_original_fourcc
?:
p_fmt_es
->
i_codec
;
if
(
psz_codec_description
)
input_Control
(
p_input
,
INPUT_ADD_INFO
,
psz_cat
,
_
(
"Codec"
),
"%s (%.4s)"
,
psz_codec_description
,
(
char
*
)
&
i_codec_fourcc
);
else
input_Control
(
p_input
,
INPUT_ADD_INFO
,
psz_cat
,
_
(
"Codec"
),
"%.4s"
,
(
char
*
)
&
i_codec_fourcc
);
if
(
es
->
psz_language
&&
*
es
->
psz_language
)
input_Control
(
p_input
,
INPUT_ADD_INFO
,
psz_cat
,
_
(
"Language"
),
...
...
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