Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
290fc84f
Commit
290fc84f
authored
Nov 08, 2004
by
gbazin
Browse files
* modules/stream_out/transcode.c: proper subpicture scaling using sample aspect ratio information.
parent
5cf4eb44
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/stream_out/transcode.c
View file @
290fc84f
...
...
@@ -1608,6 +1608,11 @@ static int transcode_video_process( sout_stream_t *p_stream,
else
p_fmt
=
&
id
->
p_decoder
->
fmt_out
.
video
;
/* FIXME (shouldn't have to be done here) */
p_fmt
->
i_sar_num
=
p_fmt
->
i_aspect
*
p_fmt
->
i_height
/
p_fmt
->
i_width
;
p_fmt
->
i_sar_den
=
VOUT_ASPECT_FACTOR
;
spu_RenderSubpictures
(
p_sys
->
p_spu
,
p_fmt
,
p_pic
,
p_pic
,
p_subpic
,
i_scale_width
,
i_scale_height
);
}
...
...
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