[vlc-commits] decoder: remove ARM-specific limitation

Rémi Denis-Courmont git at videolan.org
Thu Mar 19 18:56:14 CET 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar 17 22:15:09 2015 +0200| [0c1a0ba99505bb17b86c1cbc02807c11453ec126] | committer: Rémi Denis-Courmont

decoder: remove ARM-specific limitation

There are ARM servers and or HD/UHD-capable STBs. The distinction no
longer makes sense.

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

 src/input/decoder.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index 720df86..8e565b3 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -355,11 +355,7 @@ void input_DecoderDecode( decoder_t *p_dec, block_t *p_block, bool b_do_pace )
         if( !p_owner->b_waiting )
             block_FifoPace( p_owner->p_fifo, 10, SIZE_MAX );
     }
-#ifdef __arm__
-    else if( block_FifoSize( p_owner->p_fifo ) > 50*1024*1024 /* 50 MiB */ )
-#else
     else if( block_FifoSize( p_owner->p_fifo ) > 400*1024*1024 /* 400 MiB, ie ~ 50mb/s for 60s */ )
-#endif
     {
         /* FIXME: ideally we would check the time amount of data
          * in the FIFO instead of its size. */



More information about the vlc-commits mailing list