Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
f3426da7
Commit
f3426da7
authored
Jul 12, 2011
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlc input control: fixed execution on Mac OS
thanks for the explanation to courmisch
parent
c0670fd9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/input/item.c
src/input/item.c
+1
-1
No files found.
src/input/item.c
View file @
f3426da7
...
@@ -817,6 +817,7 @@ input_item_NewWithType( const char *psz_uri, const char *psz_name,
...
@@ -817,6 +817,7 @@ input_item_NewWithType( const char *psz_uri, const char *psz_name,
p_input
->
i_id
=
vlc_atomic_inc
(
&
last_input_id
);
p_input
->
i_id
=
vlc_atomic_inc
(
&
last_input_id
);
vlc_gc_init
(
p_input
,
input_item_Destroy
);
vlc_gc_init
(
p_input
,
input_item_Destroy
);
vlc_mutex_init
(
&
p_input
->
lock
);
p_input
->
psz_name
=
NULL
;
p_input
->
psz_name
=
NULL
;
if
(
psz_name
)
if
(
psz_name
)
...
@@ -852,7 +853,6 @@ input_item_NewWithType( const char *psz_uri, const char *psz_name,
...
@@ -852,7 +853,6 @@ input_item_NewWithType( const char *psz_uri, const char *psz_name,
vlc_event_manager_register_event_type
(
p_em
,
vlc_InputItemInfoChanged
);
vlc_event_manager_register_event_type
(
p_em
,
vlc_InputItemInfoChanged
);
vlc_event_manager_register_event_type
(
p_em
,
vlc_InputItemErrorWhenReadingChanged
);
vlc_event_manager_register_event_type
(
p_em
,
vlc_InputItemErrorWhenReadingChanged
);
vlc_mutex_init
(
&
p_input
->
lock
);
if
(
type
!=
ITEM_TYPE_UNKNOWN
)
if
(
type
!=
ITEM_TYPE_UNKNOWN
)
p_input
->
i_type
=
type
;
p_input
->
i_type
=
type
;
p_input
->
b_fixed_name
=
false
;
p_input
->
b_fixed_name
=
false
;
...
...
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