Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
528e0f14
Commit
528e0f14
authored
Mar 13, 2014
by
Matthias Keiser
Committed by
Rémi Denis-Courmont
Mar 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
video output: support rotated movies (SPU)
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
e858eb13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
src/video_output/video_output.c
src/video_output/video_output.c
+9
-1
No files found.
src/video_output/video_output.c
View file @
528e0f14
...
...
@@ -917,7 +917,13 @@ static int ThreadDisplayRenderPicture(vout_thread_t *vout, bool is_forced)
const
bool
do_dr_spu
=
!
do_snapshot
&&
vd
->
info
.
subpicture_chromas
&&
*
vd
->
info
.
subpicture_chromas
!=
0
;
//FIXME: Denying do_early_spu if vd->source.orientation != ORIENT_NORMAL
//will have the effect that snapshots miss the subpictures. We do this
//because there is currently no way to transform subpictures to match
//the source format.
const
bool
do_early_spu
=
!
do_dr_spu
&&
vd
->
source
.
orientation
==
ORIENT_NORMAL
&&
(
vd
->
info
.
is_slow
||
sys
->
display
.
use_dr
||
do_snapshot
||
...
...
@@ -964,8 +970,10 @@ static int ThreadDisplayRenderPicture(vout_thread_t *vout, bool is_forced)
}
}
video_format_t
fmt_spu_rot
;
video_format_ApplyRotation
(
&
fmt_spu
,
&
fmt_spu_rot
);
subpicture_t
*
subpic
=
spu_Render
(
vout
->
p
->
spu
,
subpicture_chromas
,
&
fmt_spu
,
subpicture_chromas
,
&
fmt_spu
_rot
,
&
vd
->
source
,
render_subtitle_date
,
render_osd_date
,
do_snapshot
);
...
...
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