[vlc-devel] commit: Use pl_Locked and pl_Unlocked. ( Rémi Duraffort )
git version control
git at videolan.org
Sat Jul 19 14:41:22 CEST 2008
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Jul 19 14:38:10 2008 +0200| [ee7537e77ae5c190881227db774a1eee6c1c7aa8]
Use pl_Locked and pl_Unlocked.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ee7537e77ae5c190881227db774a1eee6c1c7aa8
---
modules/access/cdda/info.c | 2 +-
modules/control/hotkeys.c | 2 +-
modules/control/rc.c | 2 +-
modules/gui/ncurses.c | 4 ++--
.../gui/qt4/components/playlist/playlist_model.cpp | 2 +-
modules/gui/skins2/vars/playtree.cpp | 2 +-
src/control/playlist.c | 2 +-
src/playlist/item.c | 2 +-
8 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/modules/access/cdda/info.c b/modules/access/cdda/info.c
index 5529e8e..19d0dd0 100644
--- a/modules/access/cdda/info.c
+++ b/modules/access/cdda/info.c
@@ -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 );
}
diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index 88b5210..98bb4c2 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -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;
}
diff --git a/modules/control/rc.c b/modules/control/rc.c
index 54c3cad..bb1daae 100644
--- a/modules/control/rc.c
+++ b/modules/control/rc.c
@@ -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
diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
index dd9b9b2..45a580a 100644
--- a/modules/gui/ncurses.c
+++ b/modules/gui/ncurses.c
@@ -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;
diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp
index fa8a3cf..710156a 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.cpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.cpp
@@ -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 );
}
diff --git a/modules/gui/skins2/vars/playtree.cpp b/modules/gui/skins2/vars/playtree.cpp
index 667e33f..ad808d4 100644
--- a/modules/gui/skins2/vars/playtree.cpp
+++ b/modules/gui/skins2/vars/playtree.cpp
@@ -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 );
}
diff --git a/src/control/playlist.c b/src/control/playlist.c
index d68971c..8e98dbc 100644
--- a/src/control/playlist.c
+++ b/src/control/playlist.c
@@ -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 )
{
diff --git a/src/playlist/item.c b/src/playlist/item.c
index d131d45..d9d9e9d 100644
--- a/src/playlist/item.c
+++ b/src/playlist/item.c
@@ -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 );
}
}
More information about the vlc-devel
mailing list