]> git.sesse.net Git - vlc/commitdiff
decoder: remove ARM-specific limitation
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 17 Mar 2015 20:15:09 +0000 (22:15 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 19 Mar 2015 17:56:09 +0000 (19:56 +0200)
There are ARM servers and or HD/UHD-capable STBs. The distinction no
longer makes sense.

src/input/decoder.c

index 720df86c0392484cca3685b0a0e41f7f88dd7da2..8e565b34961c3f170acf03129b9e4c3b09fb3a19 100644 (file)
@@ -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. */