Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
22c9b6fe
Commit
22c9b6fe
authored
Sep 09, 2013
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
es_out: don't add codec info if none
parent
9ddf97b4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/input/es_out.c
src/input/es_out.c
+2
-2
No files found.
src/input/es_out.c
View file @
22c9b6fe
...
@@ -2887,10 +2887,10 @@ static void EsOutUpdateInfo( es_out_t *out, es_out_id_t *es, const es_format_t *
...
@@ -2887,10 +2887,10 @@ static void EsOutUpdateInfo( es_out_t *out, es_out_id_t *es, const es_format_t *
vlc_fourcc_GetDescription
(
p_fmt_es
->
i_cat
,
p_fmt_es
->
i_codec
);
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
)
?
const
vlc_fourcc_t
i_codec_fourcc
=
(
p_fmt_es
->
i_original_fourcc
)
?
p_fmt_es
->
i_original_fourcc
:
p_fmt_es
->
i_codec
;
p_fmt_es
->
i_original_fourcc
:
p_fmt_es
->
i_codec
;
if
(
psz_codec_description
)
if
(
psz_codec_description
&&
*
psz_codec_description
)
info_category_AddInfo
(
p_cat
,
_
(
"Codec"
),
"%s (%.4s)"
,
info_category_AddInfo
(
p_cat
,
_
(
"Codec"
),
"%s (%.4s)"
,
psz_codec_description
,
(
char
*
)
&
i_codec_fourcc
);
psz_codec_description
,
(
char
*
)
&
i_codec_fourcc
);
else
else
if
(
i_codec_fourcc
!=
VLC_FOURCC
(
0
,
0
,
0
,
0
)
)
info_category_AddInfo
(
p_cat
,
_
(
"Codec"
),
"%.4s"
,
info_category_AddInfo
(
p_cat
,
_
(
"Codec"
),
"%.4s"
,
(
char
*
)
&
i_codec_fourcc
);
(
char
*
)
&
i_codec_fourcc
);
...
...
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