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
dd4e022c
Commit
dd4e022c
authored
Feb 14, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless vout_vaControlDefault
parent
b8fc3875
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
20 additions
and
57 deletions
+20
-57
include/vlc_vout.h
include/vlc_vout.h
+0
-1
modules/gui/beos/VideoOutput.cpp
modules/gui/beos/VideoOutput.cpp
+1
-1
modules/gui/macosx/voutgl.m
modules/gui/macosx/voutgl.m
+2
-3
modules/gui/minimal_macosx/VLCOpenGLVoutView.m
modules/gui/minimal_macosx/VLCOpenGLVoutView.m
+1
-2
modules/gui/minimal_macosx/voutagl.m
modules/gui/minimal_macosx/voutagl.m
+1
-1
modules/misc/dummy/vout.c
modules/misc/dummy/vout.c
+2
-5
modules/misc/stats/vout.c
modules/misc/stats/vout.c
+2
-5
modules/video_output/fb.c
modules/video_output/fb.c
+2
-5
modules/video_output/msw/events.c
modules/video_output/msw/events.c
+1
-1
modules/video_output/omapfb.c
modules/video_output/omapfb.c
+1
-1
modules/video_output/opengl.c
modules/video_output/opengl.c
+3
-8
modules/video_output/opengllayer.m
modules/video_output/opengllayer.m
+3
-8
modules/video_output/x11/xcommon.c
modules/video_output/x11/xcommon.c
+1
-1
src/libvlccore.sym
src/libvlccore.sym
+0
-1
src/video_output/vout_intf.c
src/video_output/vout_intf.c
+0
-14
No files found.
include/vlc_vout.h
View file @
dd4e022c
...
@@ -674,7 +674,6 @@ VLC_EXPORT( void, vout_LinkPicture, ( vout_thread_t *, picture_t *
...
@@ -674,7 +674,6 @@ VLC_EXPORT( void, vout_LinkPicture, ( vout_thread_t *, picture_t *
VLC_EXPORT
(
void
,
vout_UnlinkPicture
,
(
vout_thread_t
*
,
picture_t
*
)
);
VLC_EXPORT
(
void
,
vout_UnlinkPicture
,
(
vout_thread_t
*
,
picture_t
*
)
);
VLC_EXPORT
(
void
,
vout_PlacePicture
,
(
const
vout_thread_t
*
,
unsigned
int
,
unsigned
int
,
unsigned
int
*
,
unsigned
int
*
,
unsigned
int
*
,
unsigned
int
*
)
);
VLC_EXPORT
(
void
,
vout_PlacePicture
,
(
const
vout_thread_t
*
,
unsigned
int
,
unsigned
int
,
unsigned
int
*
,
unsigned
int
*
,
unsigned
int
*
,
unsigned
int
*
)
);
VLC_EXPORT
(
int
,
vout_vaControlDefault
,
(
vout_thread_t
*
,
int
,
va_list
)
);
void
vout_IntfInit
(
vout_thread_t
*
);
void
vout_IntfInit
(
vout_thread_t
*
);
VLC_EXPORT
(
void
,
vout_EnableFilter
,
(
vout_thread_t
*
,
char
*
,
bool
,
bool
)
);
VLC_EXPORT
(
void
,
vout_EnableFilter
,
(
vout_thread_t
*
,
char
*
,
bool
,
bool
)
);
...
...
modules/gui/beos/VideoOutput.cpp
View file @
dd4e022c
...
@@ -1367,7 +1367,7 @@ void Display( vout_thread_t *p_vout, picture_t *p_pic )
...
@@ -1367,7 +1367,7 @@ void Display( vout_thread_t *p_vout, picture_t *p_pic )
static
int
Control
(
vout_thread_t
*
p_vout
,
int
i_query
,
va_list
args
)
static
int
Control
(
vout_thread_t
*
p_vout
,
int
i_query
,
va_list
args
)
{
{
return
vout_vaControlDefault
(
p_vout
,
i_query
,
args
)
;
return
VLC_EGENERIC
;
}
}
/* following functions are local */
/* following functions are local */
...
...
modules/gui/macosx/voutgl.m
View file @
dd4e022c
...
@@ -275,9 +275,8 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
...
@@ -275,9 +275,8 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
[
p_vout
->
p_sys
->
o_vout_view
setOnTop
:
b_arg
];
[
p_vout
->
p_sys
->
o_vout_view
setOnTop
:
b_arg
];
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
case
VOUT_REPARENT
:
default:
default:
return
vout_vaControlDefault
(
p_vout
,
i_query
,
args
)
;
return
VLC_EGENERIC
;
}
}
}
}
...
@@ -792,7 +791,7 @@ static int aglControl( vout_thread_t *p_vout, int i_query, va_list args )
...
@@ -792,7 +791,7 @@ static int aglControl( vout_thread_t *p_vout, int i_query, va_list args )
}
}
default:
default:
return
vout_vaControlDefault
(
p_vout
,
i_query
,
args
)
;
return
VLC_EGENERIC
;
}
}
}
}
...
...
modules/gui/minimal_macosx/VLCOpenGLVoutView.m
View file @
dd4e022c
...
@@ -151,9 +151,8 @@ int cocoaglvoutviewControl( vout_thread_t *p_vout, int i_query, va_list args )
...
@@ -151,9 +151,8 @@ int cocoaglvoutviewControl( vout_thread_t *p_vout, int i_query, va_list args )
[[
p_vout
->
p_sys
->
o_glview
container
]
setOnTop
:
b_arg
];
[[
p_vout
->
p_sys
->
o_glview
container
]
setOnTop
:
b_arg
];
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
case
VOUT_REPARENT
:
default:
default:
return
vout_vaControlDefault
(
p_vout
,
i_query
,
args
)
;
return
VLC_EGENERIC
;
}
}
}
}
...
...
modules/gui/minimal_macosx/voutagl.m
View file @
dd4e022c
...
@@ -379,7 +379,7 @@ int aglControl( vout_thread_t *p_vout, int i_query, va_list args )
...
@@ -379,7 +379,7 @@ int aglControl( vout_thread_t *p_vout, int i_query, va_list args )
}
}
default
:
default
:
return
vout
_
vaControlDefault
(
p
_
vout
,
i
_
query
,
args
)
;
return
VLC
_
EGENERIC
;
}
}
}
}
...
...
modules/misc/dummy/vout.c
View file @
dd4e022c
...
@@ -73,11 +73,8 @@ int OpenVideo ( vlc_object_t *p_this )
...
@@ -73,11 +73,8 @@ int OpenVideo ( vlc_object_t *p_this )
*****************************************************************************/
*****************************************************************************/
static
int
Control
(
vout_thread_t
*
p_vout
,
int
i_query
,
va_list
args
)
static
int
Control
(
vout_thread_t
*
p_vout
,
int
i_query
,
va_list
args
)
{
{
switch
(
i_query
)
(
void
)
p_vout
;
(
void
)
i_query
;
(
void
)
args
;
{
return
VLC_EGENERIC
;
default:
return
vout_vaControlDefault
(
p_vout
,
i_query
,
args
);
}
}
}
...
...
modules/misc/stats/vout.c
View file @
dd4e022c
...
@@ -73,11 +73,8 @@ int OpenVideo ( vlc_object_t *p_this )
...
@@ -73,11 +73,8 @@ int OpenVideo ( vlc_object_t *p_this )
*****************************************************************************/
*****************************************************************************/
static
int
Control
(
vout_thread_t
*
p_vout
,
int
i_query
,
va_list
args
)
static
int
Control
(
vout_thread_t
*
p_vout
,
int
i_query
,
va_list
args
)
{
{
switch
(
i_query
)
(
void
)
p_vout
;
(
void
)
i_query
;
(
void
)
args
;
{
return
VLC_EGENERIC
;
default:
return
vout_vaControlDefault
(
p_vout
,
i_query
,
args
);
}
}
}
...
...
modules/video_output/fb.c
View file @
dd4e022c
...
@@ -651,11 +651,8 @@ static void End( vout_thread_t *p_vout )
...
@@ -651,11 +651,8 @@ static void End( vout_thread_t *p_vout )
*****************************************************************************/
*****************************************************************************/
static
int
Control
(
vout_thread_t
*
p_vout
,
int
i_query
,
va_list
args
)
static
int
Control
(
vout_thread_t
*
p_vout
,
int
i_query
,
va_list
args
)
{
{
switch
(
i_query
)
(
void
)
p_vout
;
(
void
)
i_query
;
(
void
)
args
;
{
return
VLC_EGENERIC
;
default:
return
vout_vaControlDefault
(
p_vout
,
i_query
,
args
);
}
}
}
/*****************************************************************************
/*****************************************************************************
...
...
modules/video_output/msw/events.c
View file @
dd4e022c
...
@@ -1136,7 +1136,7 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
...
@@ -1136,7 +1136,7 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
#endif
#endif
default:
default:
return
vout_vaControlDefault
(
p_vout
,
i_query
,
args
)
;
return
VLC_EGENERIC
;
}
}
}
}
...
...
modules/video_output/omapfb.c
View file @
dd4e022c
...
@@ -379,7 +379,7 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
...
@@ -379,7 +379,7 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
vout_ReleaseWindow
(
p_vout
->
p_sys
->
owner_window
);
vout_ReleaseWindow
(
p_vout
->
p_sys
->
owner_window
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
default:
default:
return
vout_vaControlDefault
(
p_vout
,
i_query
,
args
)
;
return
VLC_EGENERIC
;
}
}
}
}
...
...
modules/video_output/opengl.c
View file @
dd4e022c
...
@@ -626,14 +626,9 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
...
@@ -626,14 +626,9 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
{
{
vout_sys_t
*
p_sys
=
p_vout
->
p_sys
;
vout_sys_t
*
p_sys
=
p_vout
->
p_sys
;
switch
(
i_query
)
if
(
p_sys
->
p_vout
->
pf_control
)
{
return
p_sys
->
p_vout
->
pf_control
(
p_sys
->
p_vout
,
i_query
,
args
);
default:
return
VLC_EGENERIC
;
if
(
p_sys
->
p_vout
->
pf_control
)
return
p_sys
->
p_vout
->
pf_control
(
p_sys
->
p_vout
,
i_query
,
args
);
else
return
vout_vaControlDefault
(
p_vout
,
i_query
,
args
);
}
}
}
static
int
InitTextures
(
vout_thread_t
*
p_vout
)
static
int
InitTextures
(
vout_thread_t
*
p_vout
)
...
...
modules/video_output/opengllayer.m
View file @
dd4e022c
...
@@ -334,14 +334,9 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
...
@@ -334,14 +334,9 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
{
{
vout_sys_t
*
p_sys
=
p_vout
->
p_sys
;
vout_sys_t
*
p_sys
=
p_vout
->
p_sys
;
switch
(
i_query
)
if
(
p_sys
->
p_vout
->
pf_control
)
{
return
p_sys
->
p_vout
->
pf_control
(
p_sys
->
p_vout
,
i_query
,
args
);
default:
return
VLC_EGENERIC
;
if
(
p_sys
->
p_vout
->
pf_control
)
return
p_sys
->
p_vout
->
pf_control
(
p_sys
->
p_vout
,
i_query
,
args
);
else
return
vout_vaControlDefault
(
p_vout
,
i_query
,
args
);
}
}
}
/*****************************************************************************
/*****************************************************************************
...
...
modules/video_output/x11/xcommon.c
View file @
dd4e022c
...
@@ -3227,7 +3227,7 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
...
@@ -3227,7 +3227,7 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
default:
default:
return
vout_vaControlDefault
(
p_vout
,
i_query
,
args
)
;
return
VLC_EGENERIC
;
}
}
}
}
...
...
src/libvlccore.sym
View file @
dd4e022c
...
@@ -541,6 +541,5 @@ vout_RequestWindow
...
@@ -541,6 +541,5 @@ vout_RequestWindow
vout_ShowTextAbsolute
vout_ShowTextAbsolute
vout_ShowTextRelative
vout_ShowTextRelative
vout_UnlinkPicture
vout_UnlinkPicture
vout_vaControlDefault
__xml_Create
__xml_Create
xml_Delete
xml_Delete
src/video_output/vout_intf.c
View file @
dd4e022c
...
@@ -898,20 +898,6 @@ void vout_EnableFilter( vout_thread_t *p_vout, char *psz_name,
...
@@ -898,20 +898,6 @@ void vout_EnableFilter( vout_thread_t *p_vout, char *psz_name,
free
(
psz_string
);
free
(
psz_string
);
}
}
/*****************************************************************************
* vout_ControlDefault: default methods for video output control.
*****************************************************************************/
int
vout_vaControlDefault
(
vout_thread_t
*
p_vout
,
int
i_query
,
va_list
args
)
{
(
void
)
args
;
switch
(
i_query
)
{
default:
msg_Dbg
(
p_vout
,
"control query not supported"
);
}
return
VLC_EGENERIC
;
}
/*****************************************************************************
/*****************************************************************************
* InitWindowSize: find the initial dimensions the video window should have.
* InitWindowSize: find the initial dimensions the video window should have.
*****************************************************************************
*****************************************************************************
...
...
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