Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
aa401e54
Commit
aa401e54
authored
Aug 15, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OSD: remove unused (and obtained unsafely) SPU parameter
parent
15ad11f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
src/osd/osd_widgets.c
src/osd/osd_widgets.c
+4
-6
No files found.
src/osd/osd_widgets.c
View file @
aa401e54
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
static
void
DrawRect
(
subpicture_t
*
,
int
,
int
,
int
,
int
,
short
);
static
void
DrawRect
(
subpicture_t
*
,
int
,
int
,
int
,
int
,
short
);
static
void
DrawTriangle
(
subpicture_t
*
,
int
,
int
,
int
,
int
,
short
);
static
void
DrawTriangle
(
subpicture_t
*
,
int
,
int
,
int
,
int
,
short
);
static
int
CreatePicture
(
spu_t
*
,
subpicture_t
*
,
int
,
int
,
int
,
int
);
static
int
CreatePicture
(
spu_t
*
,
subpicture_t
*
,
int
,
int
,
int
,
int
);
static
subpicture_t
*
osd_CreateWidget
(
spu_t
*
,
int
);
static
subpicture_t
*
osd_CreateWidget
(
int
);
/*****************************************************************************
/*****************************************************************************
* Draws a rectangle at the given position in the subpic.
* Draws a rectangle at the given position in the subpic.
...
@@ -190,13 +190,11 @@ static int CreatePicture( spu_t *p_spu, subpicture_t *p_subpic,
...
@@ -190,13 +190,11 @@ static int CreatePicture( spu_t *p_spu, subpicture_t *p_subpic,
/*****************************************************************************
/*****************************************************************************
* Creates and initializes an OSD widget.
* Creates and initializes an OSD widget.
*****************************************************************************/
*****************************************************************************/
s
ubpicture_t
*
osd_CreateWidget
(
spu_t
*
p_spu
,
int
i_channel
)
s
tatic
subpicture_t
*
osd_CreateWidget
(
int
i_channel
)
{
{
subpicture_t
*
p_subpic
;
subpicture_t
*
p_subpic
;
mtime_t
i_now
=
mdate
();
mtime_t
i_now
=
mdate
();
VLC_UNUSED
(
p_spu
);
/* Create and initialize a subpicture */
/* Create and initialize a subpicture */
p_subpic
=
subpicture_New
();
p_subpic
=
subpicture_New
();
if
(
p_subpic
==
NULL
)
return
NULL
;
if
(
p_subpic
==
NULL
)
return
NULL
;
...
@@ -223,7 +221,7 @@ int osd_Slider( vlc_object_t *p_this, spu_t *p_spu,
...
@@ -223,7 +221,7 @@ int osd_Slider( vlc_object_t *p_this, spu_t *p_spu,
int
i_x_margin
,
i_y_margin
,
i_x
,
i_y
,
i_width
,
i_height
;
int
i_x_margin
,
i_y_margin
,
i_x
,
i_y
,
i_width
,
i_height
;
(
void
)
p_this
;
(
void
)
p_this
;
p_subpic
=
osd_CreateWidget
(
p_spu
,
i_channel
);
p_subpic
=
osd_CreateWidget
(
i_channel
);
if
(
p_subpic
==
NULL
)
if
(
p_subpic
==
NULL
)
{
{
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
...
@@ -286,7 +284,7 @@ int osd_Icon( vlc_object_t *p_this, spu_t *p_spu,
...
@@ -286,7 +284,7 @@ int osd_Icon( vlc_object_t *p_this, spu_t *p_spu,
int
i_x_margin
,
i_y_margin
,
i_x
,
i_y
,
i_width
,
i_height
;
int
i_x_margin
,
i_y_margin
,
i_x
,
i_y
,
i_width
,
i_height
;
(
void
)
p_this
;
(
void
)
p_this
;
p_subpic
=
osd_CreateWidget
(
p_spu
,
i_channel
);
p_subpic
=
osd_CreateWidget
(
i_channel
);
if
(
p_subpic
==
NULL
)
if
(
p_subpic
==
NULL
)
{
{
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
...
...
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