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
43161ef3
Commit
43161ef3
authored
Mar 14, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
yuv: reorient video
parent
eeecf856
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
modules/video_output/yuv.c
modules/video_output/yuv.c
+13
-3
No files found.
modules/video_output/yuv.c
View file @
43161ef3
...
...
@@ -152,7 +152,8 @@ static int Open(vlc_object_t *object)
free
(
name
);
/* */
video_format_t
fmt
=
vd
->
fmt
;
video_format_t
fmt
;
video_format_ApplyRotation
(
&
fmt
,
&
vd
->
fmt
);
fmt
.
i_chroma
=
chroma
;
video_format_FixRgb
(
&
fmt
);
...
...
@@ -202,8 +203,17 @@ static void Display(vout_display_t *vd, picture_t *picture, subpicture_t *subpic
/* */
video_format_t
fmt
=
vd
->
fmt
;
fmt
.
i_sar_num
=
vd
->
source
.
i_sar_num
;
fmt
.
i_sar_den
=
vd
->
source
.
i_sar_den
;
if
(
ORIENT_IS_SWAP
(
vd
->
source
.
orientation
))
{
fmt
.
i_sar_num
=
vd
->
source
.
i_sar_den
;
fmt
.
i_sar_den
=
vd
->
source
.
i_sar_num
;
}
else
{
fmt
.
i_sar_num
=
vd
->
source
.
i_sar_num
;
fmt
.
i_sar_den
=
vd
->
source
.
i_sar_den
;
}
/* */
char
type
;
...
...
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