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
9658acc0
Commit
9658acc0
authored
Mar 02, 2010
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Parse input specific options earlier to enable using :rate=something
parent
56c907c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/input/input.c
src/input/input.c
+8
-8
No files found.
src/input/input.c
View file @
9658acc0
...
@@ -335,6 +335,14 @@ static input_thread_t *Create( vlc_object_t *p_parent, input_item_t *p_item,
...
@@ -335,6 +335,14 @@ static input_thread_t *Create( vlc_object_t *p_parent, input_item_t *p_item,
if
(
!
p_input
->
p
)
if
(
!
p_input
->
p
)
return
NULL
;
return
NULL
;
/* Parse input options */
vlc_mutex_lock
(
&
p_item
->
lock
);
assert
(
(
int
)
p_item
->
optflagc
==
p_item
->
i_options
);
for
(
i
=
0
;
i
<
p_item
->
i_options
;
i
++
)
var_OptionParse
(
VLC_OBJECT
(
p_input
),
p_item
->
ppsz_options
[
i
],
!!
(
p_item
->
optflagv
[
i
]
&
VLC_INPUT_OPTION_TRUSTED
)
);
vlc_mutex_unlock
(
&
p_item
->
lock
);
p_input
->
b_preparsing
=
b_quick
;
p_input
->
b_preparsing
=
b_quick
;
p_input
->
psz_header
=
psz_header
?
strdup
(
psz_header
)
:
NULL
;
p_input
->
psz_header
=
psz_header
?
strdup
(
psz_header
)
:
NULL
;
...
@@ -402,14 +410,6 @@ static input_thread_t *Create( vlc_object_t *p_parent, input_item_t *p_item,
...
@@ -402,14 +410,6 @@ static input_thread_t *Create( vlc_object_t *p_parent, input_item_t *p_item,
p_input
->
p
->
i_control
=
0
;
p_input
->
p
->
i_control
=
0
;
p_input
->
p
->
b_abort
=
false
;
p_input
->
p
->
b_abort
=
false
;
/* Parse input options */
vlc_mutex_lock
(
&
p_item
->
lock
);
assert
(
(
int
)
p_item
->
optflagc
==
p_item
->
i_options
);
for
(
i
=
0
;
i
<
p_item
->
i_options
;
i
++
)
var_OptionParse
(
VLC_OBJECT
(
p_input
),
p_item
->
ppsz_options
[
i
],
!!
(
p_item
->
optflagv
[
i
]
&
VLC_INPUT_OPTION_TRUSTED
)
);
vlc_mutex_unlock
(
&
p_item
->
lock
);
/* Create Object Variables for private use only */
/* Create Object Variables for private use only */
input_ConfigVarInit
(
p_input
);
input_ConfigVarInit
(
p_input
);
...
...
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