]> git.sesse.net Git - vlc/commitdiff
Revert to 50 Mb FIFO limit on ARM
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 19 Oct 2009 19:31:21 +0000 (22:31 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 19 Oct 2009 19:31:21 +0000 (22:31 +0300)
400 Mb buffer would kill almost any such (existing) system.

src/input/decoder.c

index ae48f10a7415d1f04ae8149168e03d192da0e65a..6ac1bc84a0d16e8e1d1c307b43f740d48790fb68 100644 (file)
@@ -373,7 +373,11 @@ void input_DecoderDecode( decoder_t *p_dec, block_t *p_block, bool b_do_pace )
         if( !p_owner->b_buffering )
             block_FifoPace( p_owner->p_fifo, 10, SIZE_MAX );
     }
+#ifdef __arm__
+    else if( block_FifoSize( p_owner->p_fifo ) > 50000000 /* 50 MB */ )
+#else
     else if( block_FifoSize( p_owner->p_fifo ) > 400000000 /* 400 MB, ie ~ 50mb/s for 60s */ )
+#endif
     {
         /* FIXME: ideally we would check the time amount of data
          * in the FIFO instead of its size. */