Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
c6a7622b
Commit
c6a7622b
authored
Jul 13, 2005
by
Rémi Denis-Courmont
Browse files
Forgot these files
parent
4ee9175b
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/input/decoder.c
View file @
c6a7622b
...
...
@@ -904,10 +904,10 @@ static picture_t *vout_new_buffer( decoder_t *p_dec )
p_dec
->
fmt_out
.
video
.
i_width
;
}
vlc_reduce
(
&
p_dec
->
fmt_out
.
video
.
i_sar_num
,
&
p_dec
->
fmt_out
.
video
.
i_sar_den
,
p_dec
->
fmt_out
.
video
.
i_sar_num
,
p_dec
->
fmt_out
.
video
.
i_sar_den
,
0
);
vlc_
u
reduce
(
&
p_dec
->
fmt_out
.
video
.
i_sar_num
,
&
p_dec
->
fmt_out
.
video
.
i_sar_den
,
p_dec
->
fmt_out
.
video
.
i_sar_num
,
p_dec
->
fmt_out
.
video
.
i_sar_den
,
0
);
if
(
!
p_dec
->
fmt_out
.
video
.
i_visible_width
||
!
p_dec
->
fmt_out
.
video
.
i_visible_height
)
...
...
src/input/es_out.c
View file @
c6a7622b
...
...
@@ -679,10 +679,10 @@ static es_out_id_t *EsOutAdd( es_out_t *out, es_format_t *fmt )
case
VIDEO_ES
:
es
->
i_channel
=
p_sys
->
i_video
;
if
(
fmt
->
video
.
i_frame_rate
&&
fmt
->
video
.
i_frame_rate_base
)
vlc_reduce
(
&
es
->
fmt
.
video
.
i_frame_rate
,
&
es
->
fmt
.
video
.
i_frame_rate_base
,
fmt
->
video
.
i_frame_rate
,
fmt
->
video
.
i_frame_rate_base
,
0
);
vlc_
u
reduce
(
&
es
->
fmt
.
video
.
i_frame_rate
,
&
es
->
fmt
.
video
.
i_frame_rate_base
,
fmt
->
video
.
i_frame_rate
,
fmt
->
video
.
i_frame_rate_base
,
0
);
break
;
case
SPU_ES
:
...
...
src/video_output/video_output.c
View file @
c6a7622b
...
...
@@ -611,8 +611,8 @@ static int InitThread( vout_thread_t *p_vout )
p_vout
->
fmt_out
.
i_width
;
}
vlc_reduce
(
&
p_vout
->
fmt_out
.
i_sar_num
,
&
p_vout
->
fmt_out
.
i_sar_den
,
p_vout
->
fmt_out
.
i_sar_num
,
p_vout
->
fmt_out
.
i_sar_den
,
0
);
vlc_
u
reduce
(
&
p_vout
->
fmt_out
.
i_sar_num
,
&
p_vout
->
fmt_out
.
i_sar_den
,
p_vout
->
fmt_out
.
i_sar_num
,
p_vout
->
fmt_out
.
i_sar_den
,
0
);
AspectRatio
(
p_vout
->
fmt_out
.
i_aspect
,
&
i_aspect_x
,
&
i_aspect_y
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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