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
25399ee4
Commit
25399ee4
authored
Dec 03, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix snapshot functionality in video_output/fb.c
parent
17e8348c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
modules/video_output/fb.c
modules/video_output/fb.c
+14
-0
No files found.
modules/video_output/fb.c
View file @
25399ee4
...
@@ -51,6 +51,7 @@ static int Init ( vout_thread_t * );
...
@@ -51,6 +51,7 @@ static int Init ( vout_thread_t * );
static
void
End
(
vout_thread_t
*
);
static
void
End
(
vout_thread_t
*
);
static
int
Manage
(
vout_thread_t
*
);
static
int
Manage
(
vout_thread_t
*
);
static
void
Display
(
vout_thread_t
*
,
picture_t
*
);
static
void
Display
(
vout_thread_t
*
,
picture_t
*
);
static
int
Control
(
vout_thread_t
*
,
int
,
va_list
);
static
int
OpenDisplay
(
vout_thread_t
*
);
static
int
OpenDisplay
(
vout_thread_t
*
);
static
void
CloseDisplay
(
vout_thread_t
*
);
static
void
CloseDisplay
(
vout_thread_t
*
);
...
@@ -171,6 +172,7 @@ static int Create( vlc_object_t *p_this )
...
@@ -171,6 +172,7 @@ static int Create( vlc_object_t *p_this )
p_vout
->
pf_manage
=
Manage
;
p_vout
->
pf_manage
=
Manage
;
p_vout
->
pf_render
=
NULL
;
p_vout
->
pf_render
=
NULL
;
p_vout
->
pf_display
=
Display
;
p_vout
->
pf_display
=
Display
;
p_vout
->
pf_control
=
Control
;
/* Set tty and fb devices */
/* Set tty and fb devices */
p_sys
->
i_tty
=
0
;
/* 0 == /dev/tty0 == current console */
p_sys
->
i_tty
=
0
;
/* 0 == /dev/tty0 == current console */
...
@@ -501,6 +503,18 @@ static void Destroy( vlc_object_t *p_this )
...
@@ -501,6 +503,18 @@ static void Destroy( vlc_object_t *p_this )
free
(
p_vout
->
p_sys
);
free
(
p_vout
->
p_sys
);
}
}
/*****************************************************************************
* Control: control facility for the vout
*****************************************************************************/
static
int
Control
(
vout_thread_t
*
p_vout
,
int
i_query
,
va_list
args
)
{
switch
(
i_query
)
{
default:
return
vout_vaControlDefault
(
p_vout
,
i_query
,
args
);
}
}
/*****************************************************************************
/*****************************************************************************
* Manage: handle FB events
* Manage: handle FB events
*****************************************************************************
*****************************************************************************
...
...
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