Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
454
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
b0ffce5e
Commit
b0ffce5e
authored
14 years ago
by
Laurent Aimar
Browse files
Options
Downloads
Patches
Plain Diff
Added vout_control_PushInteger.
parent
a224dc99
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/video_output/control.c
+8
-0
8 additions, 0 deletions
src/video_output/control.c
src/video_output/control.h
+2
-0
2 additions, 0 deletions
src/video_output/control.h
with
10 additions
and
0 deletions
src/video_output/control.c
+
8
−
0
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
;
...
...
This diff is collapsed.
Click to expand it.
src/video_output/control.h
+
2
−
0
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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment