Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
ee7537e7
Commit
ee7537e7
authored
Jul 19, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use pl_Locked and pl_Unlocked.
parent
bd8145b4
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
9 deletions
+9
-9
modules/access/cdda/info.c
modules/access/cdda/info.c
+1
-1
modules/control/hotkeys.c
modules/control/hotkeys.c
+1
-1
modules/control/rc.c
modules/control/rc.c
+1
-1
modules/gui/ncurses.c
modules/gui/ncurses.c
+2
-2
modules/gui/qt4/components/playlist/playlist_model.cpp
modules/gui/qt4/components/playlist/playlist_model.cpp
+1
-1
modules/gui/skins2/vars/playtree.cpp
modules/gui/skins2/vars/playtree.cpp
+1
-1
src/control/playlist.c
src/control/playlist.c
+1
-1
src/playlist/item.c
src/playlist/item.c
+1
-1
No files found.
modules/access/cdda/info.c
View file @
ee7537e7
...
...
@@ -961,7 +961,7 @@ CDDAFixupPlaylist( access_t *p_access, cdda_data_t *p_cdda,
if
(
b_play
)
{
playlist_Control
(
p_playlist
,
PLAYLIST_VIEWPLAY
,
false
,
playlist_Control
(
p_playlist
,
PLAYLIST_VIEWPLAY
,
pl_Unlocked
,
p_playlist
->
status
.
p_item
,
NULL
);
}
...
...
modules/control/hotkeys.c
View file @
ee7537e7
...
...
@@ -925,7 +925,7 @@ static void PlayBookmark( intf_thread_t *p_intf, int i_num )
if
(
!
strcmp
(
psz_bookmark
,
psz_uri
)
)
{
free
(
psz_uri
);
playlist_Control
(
p_playlist
,
PLAYLIST_VIEWPLAY
,
true
,
playlist_Control
(
p_playlist
,
PLAYLIST_VIEWPLAY
,
pl_Locked
,
NULL
,
p_item
);
break
;
}
...
...
modules/control/rc.c
View file @
ee7537e7
...
...
@@ -1417,7 +1417,7 @@ static int Playlist( vlc_object_t *p_this, char const *psz_cmd,
p_item
=
p_parent
=
p_playlist
->
items
.
p_elems
[
i_pos
*
2
-
1
];
while
(
p_parent
->
p_parent
)
p_parent
=
p_parent
->
p_parent
;
playlist_Control
(
p_playlist
,
PLAYLIST_VIEWPLAY
,
false
,
playlist_Control
(
p_playlist
,
PLAYLIST_VIEWPLAY
,
pl_Unlocked
,
p_parent
,
p_item
);
}
else
...
...
modules/gui/ncurses.c
View file @
ee7537e7
...
...
@@ -711,7 +711,7 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
while
(
p_parent
->
p_parent
)
p_parent
=
p_parent
->
p_parent
;
playlist_Control
(
p_playlist
,
PLAYLIST_VIEWPLAY
,
false
,
p_parent
,
p_item
);
pl_Unlocked
,
p_parent
,
p_item
);
}
else
if
(
p_sys
->
pp_plist
[
p_sys
->
i_box_plidx
]
->
p_item
->
i_children
==
0
)
...
...
@@ -722,7 +722,7 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
else
{
p_sys
->
p_node
=
p_sys
->
pp_plist
[
p_sys
->
i_box_plidx
]
->
p_item
;
playlist_Control
(
p_playlist
,
PLAYLIST_VIEWPLAY
,
false
,
playlist_Control
(
p_playlist
,
PLAYLIST_VIEWPLAY
,
pl_Unlocked
,
p_sys
->
pp_plist
[
p_sys
->
i_box_plidx
]
->
p_item
,
NULL
);
}
b_box_plidx_follow
=
true
;
...
...
modules/gui/qt4/components/playlist/playlist_model.cpp
View file @
ee7537e7
...
...
@@ -276,7 +276,7 @@ void PLModel::activateItem( playlist_item_t *p_item )
p_parent
=
p_parent
->
p_parent
;
}
if
(
p_parent
)
playlist_Control
(
p_playlist
,
PLAYLIST_VIEWPLAY
,
true
,
playlist_Control
(
p_playlist
,
PLAYLIST_VIEWPLAY
,
pl_Locked
,
p_parent
,
p_item
);
}
...
...
modules/gui/skins2/vars/playtree.cpp
View file @
ee7537e7
...
...
@@ -112,7 +112,7 @@ void Playtree::action( VarTree *pItem )
if
(
p_parent
)
{
playlist_Control
(
m_pPlaylist
,
PLAYLIST_VIEWPLAY
,
true
,
p_parent
,
p_item
);
playlist_Control
(
m_pPlaylist
,
PLAYLIST_VIEWPLAY
,
pl_Locked
,
p_parent
,
p_item
);
}
vlc_object_unlock
(
m_pPlaylist
);
}
...
...
src/control/playlist.c
View file @
ee7537e7
...
...
@@ -91,7 +91,7 @@ void libvlc_playlist_play( libvlc_instance_t *p_instance, int i_id,
RAISEVOID
(
"Unable to find item"
);
}
playlist_Control
(
PL
,
PLAYLIST_VIEWPLAY
,
true
,
playlist_Control
(
PL
,
PLAYLIST_VIEWPLAY
,
pl_Locked
,
PL
->
status
.
p_node
,
p_item
);
if
(
did_lock
==
1
)
{
...
...
src/playlist/item.c
View file @
ee7537e7
...
...
@@ -99,7 +99,7 @@ static void input_item_subitem_added( const vlc_event_t * p_event,
if
(
i_ret
==
VLC_SUCCESS
&&
b_play
)
{
playlist_Control
(
p_playlist
,
PLAYLIST_VIEWPLAY
,
true
,
p_item_in_category
,
NULL
);
pl_Locked
,
p_item_in_category
,
NULL
);
}
}
...
...
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