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
6d8975b2
Commit
6d8975b2
authored
Apr 18, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused vout_thread_t:pf_control field and related code.
parent
03055546
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
37 deletions
+1
-37
include/vlc_vout.h
include/vlc_vout.h
+0
-29
src/video_output/video_output.c
src/video_output/video_output.c
+1
-7
src/video_output/vout_wrapper.c
src/video_output/vout_wrapper.c
+0
-1
No files found.
include/vlc_vout.h
View file @
6d8975b2
...
...
@@ -140,7 +140,6 @@ struct vout_thread_t
void
(
*
pf_swap
)
(
vout_thread_t
*
);
/* OpenGL only */
int
(
*
pf_lock
)
(
vout_thread_t
*
);
/* OpenGL only */
void
(
*
pf_unlock
)
(
vout_thread_t
*
);
/* OpenGL only */
int
(
*
pf_control
)
(
vout_thread_t
*
,
int
,
va_list
);
/**@}*/
/** \name Video heap and translation tables */
...
...
@@ -318,34 +317,6 @@ VLC_EXPORT( spu_t *, vout_GetSpu, ( vout_thread_t * ) );
void
vout_IntfInit
(
vout_thread_t
*
);
VLC_EXPORT
(
void
,
vout_EnableFilter
,
(
vout_thread_t
*
,
const
char
*
,
bool
,
bool
)
);
static
inline
int
vout_vaControl
(
vout_thread_t
*
p_vout
,
int
i_query
,
va_list
args
)
{
if
(
p_vout
->
pf_control
)
return
p_vout
->
pf_control
(
p_vout
,
i_query
,
args
);
else
return
VLC_EGENERIC
;
}
static
inline
int
vout_Control
(
vout_thread_t
*
p_vout
,
int
i_query
,
...
)
{
va_list
args
;
int
i_result
;
va_start
(
args
,
i_query
);
i_result
=
vout_vaControl
(
p_vout
,
i_query
,
args
);
va_end
(
args
);
return
i_result
;
}
enum
output_query_e
{
VOUT_SET_STAY_ON_TOP
=
1
,
/* arg1= bool res= */
VOUT_SET_VIEWPORT
,
/* arg1= view rect, arg2=clip rect, res= */
VOUT_REDRAW_RECT
,
/* arg1= area rect, res= */
};
/**@}*/
#endif
/* _VLC_VIDEO_H */
src/video_output/video_output.c
View file @
6d8975b2
...
...
@@ -379,7 +379,6 @@ vout_thread_t * vout_Create( vlc_object_t *p_parent, video_format_t *p_fmt )
p_vout
->
p
->
b_filter_change
=
0
;
p_vout
->
p
->
b_paused
=
false
;
p_vout
->
p
->
i_pause_date
=
0
;
p_vout
->
pf_control
=
NULL
;
p_vout
->
p
->
i_par_num
=
p_vout
->
p
->
i_par_den
=
1
;
p_vout
->
p
->
p_picture_displayed
=
NULL
;
...
...
@@ -1247,13 +1246,8 @@ static void* RunThread( void *p_this )
break
;
}
while
(
p_vout
->
i_changes
&
VOUT_ON_TOP_CHANGE
)
{
if
(
p_vout
->
i_changes
&
VOUT_ON_TOP_CHANGE
)
p_vout
->
i_changes
&=
~
VOUT_ON_TOP_CHANGE
;
vlc_mutex_unlock
(
&
p_vout
->
change_lock
);
vout_Control
(
p_vout
,
VOUT_SET_STAY_ON_TOP
,
p_vout
->
b_on_top
);
vlc_mutex_lock
(
&
p_vout
->
change_lock
);
}
if
(
p_vout
->
i_changes
&
VOUT_SIZE_CHANGE
)
{
...
...
src/video_output/vout_wrapper.c
View file @
6d8975b2
...
...
@@ -125,7 +125,6 @@ int vout_OpenWrapper(vout_thread_t *vout, const char *name)
vout
->
pf_manage
=
Manage
;
vout
->
pf_render
=
Render
;
vout
->
pf_display
=
Display
;
vout
->
pf_control
=
NULL
;
vout
->
p_sys
=
sys
;
return
VLC_SUCCESS
;
...
...
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