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
b012efbd
Commit
b012efbd
authored
Jun 07, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use %u instead of %d
parent
4e7c3389
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/input/es_out.c
src/input/es_out.c
+6
-6
No files found.
src/input/es_out.c
View file @
b012efbd
...
...
@@ -1781,24 +1781,24 @@ static void EsOutAddInfo( es_out_t *out, es_out_id_t *es )
if
(
fmt
->
audio
.
i_channels
>
0
)
input_Control
(
p_input
,
INPUT_ADD_INFO
,
psz_cat
,
_
(
"Channels"
),
"%
d
"
,
fmt
->
audio
.
i_channels
);
"%
u
"
,
fmt
->
audio
.
i_channels
);
if
(
fmt
->
audio
.
i_rate
>
0
)
{
input_Control
(
p_input
,
INPUT_ADD_INFO
,
psz_cat
,
_
(
"Sample rate"
),
_
(
"%
d
Hz"
),
fmt
->
audio
.
i_rate
);
_
(
"%
u
Hz"
),
fmt
->
audio
.
i_rate
);
var_SetInteger
(
p_input
,
"sample-rate"
,
fmt
->
audio
.
i_rate
);
}
if
(
fmt
->
audio
.
i_bitspersample
>
0
)
input_Control
(
p_input
,
INPUT_ADD_INFO
,
psz_cat
,
_
(
"Bits per sample"
),
"%
d
"
,
_
(
"Bits per sample"
),
"%
u
"
,
fmt
->
audio
.
i_bitspersample
);
if
(
fmt
->
i_bitrate
>
0
)
{
input_Control
(
p_input
,
INPUT_ADD_INFO
,
psz_cat
,
_
(
"Bitrate"
),
_
(
"%
d
kb/s"
),
fmt
->
i_bitrate
/
1000
);
_
(
"%
u
kb/s"
),
fmt
->
i_bitrate
/
1000
);
var_SetInteger
(
p_input
,
"bit-rate"
,
fmt
->
i_bitrate
);
}
break
;
...
...
@@ -1809,13 +1809,13 @@ static void EsOutAddInfo( es_out_t *out, es_out_id_t *es )
if
(
fmt
->
video
.
i_width
>
0
&&
fmt
->
video
.
i_height
>
0
)
input_Control
(
p_input
,
INPUT_ADD_INFO
,
psz_cat
,
_
(
"Resolution"
),
"%
dx%d
"
,
_
(
"Resolution"
),
"%
ux%u
"
,
fmt
->
video
.
i_width
,
fmt
->
video
.
i_height
);
if
(
fmt
->
video
.
i_visible_width
>
0
&&
fmt
->
video
.
i_visible_height
>
0
)
input_Control
(
p_input
,
INPUT_ADD_INFO
,
psz_cat
,
_
(
"Display resolution"
),
"%
dx%d
"
,
_
(
"Display resolution"
),
"%
ux%u
"
,
fmt
->
video
.
i_visible_width
,
fmt
->
video
.
i_visible_height
);
if
(
fmt
->
video
.
i_frame_rate
>
0
&&
...
...
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