[vlc-devel] commit: The playlist is not lock at this stage so let it lock itself. ( Rémi Duraffort )

git version control git at videolan.org
Thu Jul 17 18:43:40 CEST 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Jul 17 17:58:33 2008 +0200| [6cc9595de6e94e5f56242a7b605fc30fa3369081]

The playlist is not lock at this stage so let it lock itself.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6cc9595de6e94e5f56242a7b605fc30fa3369081
---

 modules/access/cdda/info.c |    2 +-
 modules/codec/cmml/intf.c  |    2 +-
 modules/control/rc.c       |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/access/cdda/info.c b/modules/access/cdda/info.c
index 51c970b..5529e8e 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, true,
+        playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, false,
                           p_playlist->status.p_item, NULL );
     }
 
diff --git a/modules/codec/cmml/intf.c b/modules/codec/cmml/intf.c
index 8849330..b57cd66 100644
--- a/modules/codec/cmml/intf.c
+++ b/modules/codec/cmml/intf.c
@@ -510,7 +510,7 @@ static void FollowAnchor ( intf_thread_t *p_intf )
             msg_Dbg( p_intf, "calling browser_Open with \"%s\"", psz_url );
 #endif
             (void) browser_Open( psz_url );
-            playlist_Control( p_playlist, PLAYLIST_PAUSE, true, 0 );
+            playlist_Control( p_playlist, PLAYLIST_PAUSE, false, 0 );
         }
 
         free( psz_uri_to_load );
diff --git a/modules/control/rc.c b/modules/control/rc.c
index c78fd9c..54c3cad 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, true,
+            playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, false,
                     p_parent, p_item );
         }
         else




More information about the vlc-devel mailing list