Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
6e0aabe6
Commit
6e0aabe6
authored
Jul 12, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused INPUT_ADD_OPTION
parent
5c735144
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
19 deletions
+0
-19
include/vlc_input.h
include/vlc_input.h
+0
-3
src/input/control.c
src/input/control.c
+0
-16
No files found.
include/vlc_input.h
View file @
6e0aabe6
...
...
@@ -479,9 +479,6 @@ enum input_query_e
INPUT_DEL_INFO
,
/* arg1= char* arg2= char* res=can fail */
INPUT_SET_NAME
,
/* arg1= char* res=can fail */
/* Input config options */
INPUT_ADD_OPTION
,
/* arg1= char * arg2= char * res=can fail*/
/* Input properties */
INPUT_GET_VIDEO_FPS
,
/* arg1= double * res=can fail */
...
...
src/input/control.c
View file @
6e0aabe6
...
...
@@ -349,22 +349,6 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
}
}
case
INPUT_ADD_OPTION
:
{
const
char
*
psz_option
=
va_arg
(
args
,
const
char
*
);
const
char
*
psz_value
=
va_arg
(
args
,
const
char
*
);
char
*
str
;
int
i
;
if
(
asprintf
(
&
str
,
"%s=%s"
,
psz_option
,
psz_value
)
==
-
1
)
return
VLC_ENOMEM
;
i
=
input_item_AddOption
(
p_input
->
p
->
p_item
,
str
,
VLC_INPUT_OPTION_UNIQUE
);
free
(
str
);
return
i
;
}
case
INPUT_GET_VIDEO_FPS
:
pf
=
(
double
*
)
va_arg
(
args
,
double
*
);
...
...
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