[vlc-devel] commit: Cosmetics. (Laurent Aimar )

git version control git at videolan.org
Mon Nov 17 20:16:38 CET 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri Nov 14 01:58:09 2008 +0100| [1c01003be78d5f2eedc31fb5d2c8b069eae90f13] | committer: Laurent Aimar 

Cosmetics.

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

 src/input/es_out_timeshift.c |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/src/input/es_out_timeshift.c b/src/input/es_out_timeshift.c
index 01232a5..8498c48 100644
--- a/src/input/es_out_timeshift.c
+++ b/src/input/es_out_timeshift.c
@@ -225,15 +225,6 @@ static void Destroy( es_out_t *p_out )
     if( p_sys->b_delayed )
         TsStop( p_out );
 
-    for( ;; )
-    {
-        ts_cmd_t cmd;
-
-        if( CmdPop( p_out, &cmd ) )
-            break;
-
-        CmdClean( &cmd );
-    }
     TAB_CLEAN( p_sys->i_cmd, p_sys->pp_cmd  );
 
     while( p_sys->i_es > 0 )
@@ -584,6 +575,16 @@ static void TsStop( es_out_t *p_out )
     vlc_object_kill( p_sys->p_thread );
     vlc_thread_join( p_sys->p_thread );
 
+    for( ;; )
+    {
+        ts_cmd_t cmd;
+
+        if( CmdPop( p_out, &cmd ) )
+            break;
+
+        CmdClean( &cmd );
+    }
+
     p_sys->b_delayed = false;
 }
 static void *TsRun( vlc_object_t *p_thread )




More information about the vlc-devel mailing list