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
bbd88529
Commit
bbd88529
authored
Jun 14, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input: Don't do NotifyPlaylist() now that the playlist properly listen to input item event.
parent
89237ca2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
src/input/control.c
src/input/control.c
+0
-16
No files found.
src/input/control.c
View file @
bbd88529
...
...
@@ -35,7 +35,6 @@
static
void
UpdateBookmarksOption
(
input_thread_t
*
);
static
void
NotifyPlaylist
(
input_thread_t
*
);
/****************************************************************************
* input_Control
...
...
@@ -201,7 +200,6 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
if
(
!
p_input
->
b_preparsing
)
{
NotifyPlaylist
(
p_input
);
vlc_event_t
event
;
event
.
type
=
vlc_InputItemInfoChanged
;
vlc_event_send
(
&
p_input
->
p
->
input
.
p_item
->
event_manager
,
&
event
);
...
...
@@ -273,7 +271,6 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
if
(
!
p_input
->
b_preparsing
)
{
NotifyPlaylist
(
p_input
);
vlc_event_t
event
;
event
.
type
=
vlc_InputItemInfoChanged
;
vlc_event_send
(
&
p_input
->
p
->
input
.
p_item
->
event_manager
,
&
event
);
...
...
@@ -309,7 +306,6 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
if
(
!
p_input
->
b_preparsing
)
{
NotifyPlaylist
(
p_input
);
vlc_event_t
event
;
event
.
type
=
vlc_InputItemNameChanged
;
event
.
u
.
input_item_name_changed
.
new_name
=
psz_name
;
...
...
@@ -610,18 +606,6 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
}
}
static
void
NotifyPlaylist
(
input_thread_t
*
p_input
)
{
/* FIXME: We need to avoid that dependency on the playlist
* because it is a circular dependency:
* ( playlist -> input -> playlist ) */
playlist_t
*
p_playlist
=
pl_Yield
(
p_input
);
if
(
VLC_OBJECT
(
p_playlist
)
==
p_input
->
p_parent
)
var_SetInteger
(
p_playlist
,
"item-change"
,
p_input
->
p
->
input
.
p_item
->
i_id
);
pl_Release
(
p_input
);
}
static
void
UpdateBookmarksOption
(
input_thread_t
*
p_input
)
{
int
i
,
i_len
=
0
;
...
...
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