Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
c6a7622b
Commit
c6a7622b
authored
Jul 13, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Forgot these files
parent
4ee9175b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
src/input/decoder.c
src/input/decoder.c
+4
-4
src/input/es_out.c
src/input/es_out.c
+4
-4
src/video_output/video_output.c
src/video_output/video_output.c
+2
-2
No files found.
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
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