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
b0ffce5e
Commit
b0ffce5e
authored
May 25, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added vout_control_PushInteger.
parent
a224dc99
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
src/video_output/control.c
src/video_output/control.c
+8
-0
src/video_output/control.h
src/video_output/control.h
+2
-0
No files found.
src/video_output/control.c
View file @
b0ffce5e
...
...
@@ -134,6 +134,14 @@ void vout_control_PushBool(vout_control_t *ctrl, int type, bool boolean)
cmd
.
u
.
boolean
=
boolean
;
vout_control_Push
(
ctrl
,
&
cmd
);
}
void
vout_control_PushInteger
(
vout_control_t
*
ctrl
,
int
type
,
int
integer
)
{
vout_control_cmd_t
cmd
;
vout_control_cmd_Init
(
&
cmd
,
type
);
cmd
.
u
.
integer
=
integer
;
vout_control_Push
(
ctrl
,
&
cmd
);
}
void
vout_control_PushTime
(
vout_control_t
*
ctrl
,
int
type
,
mtime_t
time
)
{
vout_control_cmd_t
cmd
;
...
...
src/video_output/control.h
View file @
b0ffce5e
...
...
@@ -68,6 +68,7 @@ typedef struct {
mtime_t
time
;
mtime_t
*
time_ptr
;
char
*
string
;
int
integer
;
struct
{
int
a
;
int
b
;
...
...
@@ -123,6 +124,7 @@ void vout_control_WaitEmpty(vout_control_t *);
void
vout_control_Push
(
vout_control_t
*
,
vout_control_cmd_t
*
);
void
vout_control_PushVoid
(
vout_control_t
*
,
int
type
);
void
vout_control_PushBool
(
vout_control_t
*
,
int
type
,
bool
boolean
);
void
vout_control_PushInteger
(
vout_control_t
*
,
int
type
,
int
integer
);
void
vout_control_PushTime
(
vout_control_t
*
,
int
type
,
mtime_t
time
);
void
vout_control_PushMessage
(
vout_control_t
*
,
int
type
,
int
channel
,
const
char
*
string
);
void
vout_control_PushPair
(
vout_control_t
*
,
int
type
,
int
a
,
int
b
);
...
...
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