]> git.sesse.net Git - vlc/blobdiff - modules/gui/wince/interface.cpp
Use pl_Release with the right argument.
[vlc] / modules / gui / wince / interface.cpp
index 660e43214a8b8dde49d79d68b41045a482225bfd..d9c1463f221aa79b387df38c7a50875cbe6fe6e3 100644 (file)
@@ -652,7 +652,7 @@ void Interface::OnPlayStream( void )
             /* No stream was playing, start one */
             playlist_Play( p_playlist );
             TogglePlayButton( PLAYING_S );
-            pl_Release( p_playlist );
+            pl_Release( p_intf );
             return;
         }
 
@@ -678,7 +678,7 @@ void Interface::OnPlayStream( void )
         /* If the playlist is empty, open a file requester instead */
         OnShowDialog( ID_FILE_QUICKOPEN );
     }
-    pl_Release( p_playlist );
+    pl_Release( p_intf );
 }
 
 void Interface::TogglePlayButton( int i_playing_status )
@@ -815,7 +815,7 @@ void Interface::OnStopStream( void )
 
     playlist_Stop( p_playlist );
     TogglePlayButton( PAUSE_S );
-    pl_Release( p_playlist );
+    pl_Release( p_intf );
 }
 
 void Interface::OnPrevStream( void )
@@ -824,7 +824,7 @@ void Interface::OnPrevStream( void )
     if( p_playlist == NULL ) return;
 
     playlist_Prev( p_playlist );
-    pl_Release( p_playlist );
+    pl_Release( p_intf );
 }
 
 void Interface::OnNextStream( void )
@@ -833,7 +833,7 @@ void Interface::OnNextStream( void )
     if( p_playlist == NULL ) return;
 
     playlist_Next( p_playlist );
-    pl_Release( p_playlist );
+    pl_Release( p_intf );
 }
 
 void Interface::OnSlowStream( void )