Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
e875fef5
Commit
e875fef5
authored
May 04, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed OSD_ALIGN_* flags.
SUBPICTURE_ALIGN_* must be used instead.
parent
308b6e6d
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
8 additions
and
14 deletions
+8
-14
include/vlc_osd.h
include/vlc_osd.h
+0
-6
modules/gui/fbosd.c
modules/gui/fbosd.c
+1
-1
modules/video_filter/audiobargraph_v.c
modules/video_filter/audiobargraph_v.c
+1
-1
modules/video_filter/dynamicoverlay/dynamicoverlay.c
modules/video_filter/dynamicoverlay/dynamicoverlay.c
+1
-1
modules/video_filter/logo.c
modules/video_filter/logo.c
+1
-1
modules/video_filter/marq.c
modules/video_filter/marq.c
+1
-1
modules/video_filter/rss.c
modules/video_filter/rss.c
+1
-1
src/osd/osd_text.c
src/osd/osd_text.c
+1
-1
src/video_output/video_text.c
src/video_output/video_text.c
+1
-1
No files found.
include/vlc_osd.h
View file @
e875fef5
...
...
@@ -207,12 +207,6 @@ VLC_EXPORT( void, spu_RenderSubpictures, ( spu_t *, picture_t *, const video_fo
/**
* OSD menu position and picture type defines
*/
#define OSD_ALIGN_LEFT 0x1
#define OSD_ALIGN_RIGHT 0x2
#define OSD_ALIGN_TOP 0x4
#define OSD_ALIGN_BOTTOM 0x8
#define OSD_HOR_SLIDER 1
#define OSD_VERT_SLIDER 2
...
...
modules/gui/fbosd.c
View file @
e875fef5
...
...
@@ -861,7 +861,7 @@ static picture_t *RenderText( intf_thread_t *p_intf, const char *psz_string,
return
NULL
;
}
p_region
->
p_style
=
text_style_Duplicate
(
p_style
);
p_region
->
i_align
=
OSD_ALIGN_LEFT
|
OSD
_ALIGN_TOP
;
p_region
->
i_align
=
SUBPICTURE_ALIGN_LEFT
|
SUBPICTURE
_ALIGN_TOP
;
if
(
p_sys
->
p_text
->
pf_render_text
)
{
...
...
modules/video_filter/audiobargraph_v.c
View file @
e875fef5
...
...
@@ -361,7 +361,7 @@ static subpicture_t *FilterSub( filter_t *p_filter, mtime_t date )
/* where to locate the bar graph: */
if
(
p_sys
->
i_pos
<
0
)
{
/* set to an absolute xy */
p_region
->
i_align
=
OSD_ALIGN_RIGHT
|
OSD
_ALIGN_TOP
;
p_region
->
i_align
=
SUBPICTURE_ALIGN_RIGHT
|
SUBPICTURE
_ALIGN_TOP
;
p_spu
->
b_absolute
=
true
;
}
else
...
...
modules/video_filter/dynamicoverlay/dynamicoverlay.c
View file @
e875fef5
...
...
@@ -375,7 +375,7 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
}
p_region
->
i_x
=
p_overlay
->
i_x
;
p_region
->
i_y
=
p_overlay
->
i_y
;
p_region
->
i_align
=
OSD_ALIGN_LEFT
|
OSD
_ALIGN_TOP
;
p_region
->
i_align
=
SUBPICTURE_ALIGN_LEFT
|
SUBPICTURE
_ALIGN_TOP
;
p_region
->
i_alpha
=
p_overlay
->
i_alpha
;
pp_region
=
&
p_region
->
p_next
;
}
...
...
modules/video_filter/logo.c
View file @
e875fef5
...
...
@@ -400,7 +400,7 @@ static subpicture_t *FilterSub( filter_t *p_filter, mtime_t date )
/* where to locate the logo: */
if
(
p_sys
->
i_pos
<
0
)
{
/* set to an absolute xy */
p_region
->
i_align
=
OSD_ALIGN_RIGHT
|
OSD
_ALIGN_TOP
;
p_region
->
i_align
=
SUBPICTURE_ALIGN_RIGHT
|
SUBPICTURE
_ALIGN_TOP
;
p_spu
->
b_absolute
=
true
;
}
else
...
...
modules/video_filter/marq.c
View file @
e875fef5
...
...
@@ -313,7 +313,7 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
/* where to locate the string: */
if
(
p_sys
->
i_pos
<
0
)
{
/* set to an absolute xy */
p_spu
->
p_region
->
i_align
=
OSD_ALIGN_LEFT
|
OSD
_ALIGN_TOP
;
p_spu
->
p_region
->
i_align
=
SUBPICTURE_ALIGN_LEFT
|
SUBPICTURE
_ALIGN_TOP
;
p_spu
->
b_absolute
=
true
;
}
else
...
...
modules/video_filter/rss.c
View file @
e875fef5
...
...
@@ -484,7 +484,7 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
/* where to locate the string: */
if
(
p_sys
->
i_pos
<
0
)
{
/* set to an absolute xy */
p_spu
->
p_region
->
i_align
=
OSD_ALIGN_LEFT
|
OSD
_ALIGN_TOP
;
p_spu
->
p_region
->
i_align
=
SUBPICTURE_ALIGN_LEFT
|
SUBPICTURE
_ALIGN_TOP
;
p_spu
->
b_absolute
=
true
;
}
else
...
...
src/osd/osd_text.c
View file @
e875fef5
...
...
@@ -131,7 +131,7 @@ void osd_Message( spu_t *p_spu, int i_channel,
if
(
vasprintf
(
&
psz_string
,
psz_format
,
args
)
!=
-
1
)
{
osd_ShowTextRelative
(
p_spu
,
i_channel
,
psz_string
,
NULL
,
OSD_ALIGN_TOP
|
OSD
_ALIGN_RIGHT
,
30
,
20
,
1000000
);
SUBPICTURE_ALIGN_TOP
|
SUBPICTURE
_ALIGN_RIGHT
,
30
,
20
,
1000000
);
free
(
psz_string
);
}
...
...
src/video_output/video_text.c
View file @
e875fef5
...
...
@@ -143,7 +143,7 @@ void vout_OSDMessage( vlc_object_t *p_caller, int i_channel,
if
(
vasprintf
(
&
psz_string
,
psz_format
,
args
)
!=
-
1
)
{
vout_ShowTextRelative
(
p_vout
,
i_channel
,
psz_string
,
NULL
,
OSD_ALIGN_TOP
|
OSD
_ALIGN_RIGHT
,
SUBPICTURE_ALIGN_TOP
|
SUBPICTURE
_ALIGN_RIGHT
,
30
+
p_vout
->
p
->
fmt_in
.
i_width
-
p_vout
->
p
->
fmt_in
.
i_visible_width
-
p_vout
->
p
->
fmt_in
.
i_x_offset
,
...
...
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