[vlc-commits] decoder: remove dead code
    Rémi Denis-Courmont 
    git at videolan.org
       
    Sat Nov 28 22:38:30 CET 2015
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Nov 28 23:30:28 2015 +0200| [ee93445701017751287f2b7f45411cf75a0fca7d] | committer: Rémi Denis-Courmont
decoder: remove dead code
The ES output never calls FrameNext on non-video tracks.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ee93445701017751287f2b7f45411cf75a0fca7d
---
 src/input/decoder.c |    6 ------
 1 file changed, 6 deletions(-)
diff --git a/src/input/decoder.c b/src/input/decoder.c
index 5754cee..70f22c2 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -2061,12 +2061,6 @@ void input_DecoderFrameNext( decoder_t *p_dec, mtime_t *pi_duration )
         if( p_owner->p_vout )
             vout_NextPicture( p_owner->p_vout, pi_duration );
     }
-    else
-    {
-        /* TODO subtitle should not be flushed */
-        p_owner->b_waiting = false;
-        input_DecoderFlush( p_dec );
-    }
     vlc_mutex_unlock( &p_owner->lock );
 }
 
    
    
More information about the vlc-commits
mailing list