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
0648b216
Commit
0648b216
authored
Feb 14, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed RSS text positionning (close #3115).
Initial patch by Gerrit van den Hanenberg.
parent
f3544f08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
modules/video_filter/rss.c
modules/video_filter/rss.c
+7
-5
No files found.
modules/video_filter/rss.c
View file @
0648b216
...
...
@@ -492,6 +492,8 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
p_spu
->
p_region
->
i_align
=
p_sys
->
i_pos
;
p_spu
->
b_absolute
=
false
;
}
p_spu
->
p_region
->
i_x
=
p_sys
->
i_xoff
;
p_spu
->
p_region
->
i_y
=
p_sys
->
i_yoff
;
p_spu
->
p_region
->
p_style
=
text_style_Duplicate
(
p_sys
->
p_style
);
...
...
@@ -517,15 +519,15 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
}
else
{
p_region
->
i_x
=
p_s
ys
->
i_xoff
;
p_region
->
i_y
=
p_s
ys
->
i_yoff
;
p_region
->
i_x
=
p_s
pu
->
p_region
->
i_x
;
p_region
->
i_y
=
p_s
pu
->
p_region
->
i_y
;
/* FIXME the copy is probably not needed anymore */
picture_Copy
(
p_region
->
p_picture
,
p_pic
);
p_spu
->
p_region
->
p_next
=
p_region
;
}
/* Offset text to display right next to the image */
p_spu
->
p_region
->
i_x
=
p_pic
->
p
[
Y_PLANE
].
i_visible_pitch
;
/* Offset text to display right next to the image */
p_spu
->
p_region
->
i_x
+=
fmt_out
.
i_visible_width
;
}
}
vlc_mutex_unlock
(
&
p_sys
->
lock
);
...
...
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