Commit d0c9158e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Revert to 50 Mb FIFO limit on ARM

400 Mb buffer would kill almost any such (existing) system.
parent bfaa71e2
...@@ -373,7 +373,11 @@ void input_DecoderDecode( decoder_t *p_dec, block_t *p_block, bool b_do_pace ) ...@@ -373,7 +373,11 @@ void input_DecoderDecode( decoder_t *p_dec, block_t *p_block, bool b_do_pace )
if( !p_owner->b_buffering ) if( !p_owner->b_buffering )
block_FifoPace( p_owner->p_fifo, 10, SIZE_MAX ); 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 */ ) 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 /* FIXME: ideally we would check the time amount of data
* in the FIFO instead of its size. */ * in the FIFO instead of its size. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment