Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
0e7a548e
Commit
0e7a548e
authored
Jun 01, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: Compile fix for previous commit, plus warning removal.
parent
61ee17a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/playlist/item.c
src/playlist/item.c
+5
-4
No files found.
src/playlist/item.c
View file @
0e7a548e
...
@@ -112,6 +112,7 @@ static void input_item_subitem_added( const vlc_event_t * p_event,
...
@@ -112,6 +112,7 @@ static void input_item_subitem_added( const vlc_event_t * p_event,
static
void
input_item_changed
(
const
vlc_event_t
*
p_event
,
static
void
input_item_changed
(
const
vlc_event_t
*
p_event
,
void
*
user_data
)
void
*
user_data
)
{
{
(
void
)
p_event
;
playlist_item_t
*
p_item
=
user_data
;
playlist_item_t
*
p_item
=
user_data
;
var_SetInteger
(
p_item
->
p_playlist
,
var_SetInteger
(
p_item
->
p_playlist
,
"item-change"
,
p_item
->
i_id
);
"item-change"
,
p_item
->
i_id
);
...
@@ -128,11 +129,11 @@ static void install_input_item_observer( playlist_item_t * p_item )
...
@@ -128,11 +129,11 @@ static void install_input_item_observer( playlist_item_t * p_item )
p_item
);
p_item
);
vlc_event_attach
(
&
p_item
->
p_input
->
event_manager
,
vlc_event_attach
(
&
p_item
->
p_input
->
event_manager
,
vlc_InputItemDurationChanged
,
vlc_InputItemDurationChanged
,
input_item_
meta_
changed
,
input_item_changed
,
p_item
);
p_item
);
vlc_event_attach
(
&
p_item
->
p_input
->
event_manager
,
vlc_event_attach
(
&
p_item
->
p_input
->
event_manager
,
vlc_InputItemMetaChanged
,
vlc_InputItemMetaChanged
,
input_item_
meta_
changed
,
input_item_changed
,
p_item
);
p_item
);
}
}
...
@@ -140,11 +141,11 @@ static void uninstall_input_item_observer( playlist_item_t * p_item )
...
@@ -140,11 +141,11 @@ static void uninstall_input_item_observer( playlist_item_t * p_item )
{
{
vlc_event_detach
(
&
p_item
->
p_input
->
event_manager
,
vlc_event_detach
(
&
p_item
->
p_input
->
event_manager
,
vlc_InputItemMetaChanged
,
vlc_InputItemMetaChanged
,
input_item_
meta_
changed
,
input_item_changed
,
p_item
);
p_item
);
vlc_event_detach
(
&
p_item
->
p_input
->
event_manager
,
vlc_event_detach
(
&
p_item
->
p_input
->
event_manager
,
vlc_InputItemDurationChanged
,
vlc_InputItemDurationChanged
,
input_item_
meta_
changed
,
input_item_changed
,
p_item
);
p_item
);
vlc_event_detach
(
&
p_item
->
p_input
->
event_manager
,
vlc_event_detach
(
&
p_item
->
p_input
->
event_manager
,
vlc_InputItemSubItemAdded
,
vlc_InputItemSubItemAdded
,
...
...
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