From: David Flynn <[email protected]>

Given the sync/buffering changes, the decoder is always ready to
accept new data.

Signed-off-by: David Flynn <[email protected]>
---
 schroedinger/schrodecoder.c |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/schroedinger/schrodecoder.c b/schroedinger/schrodecoder.c
index ea301f2..afd8b95 100644
--- a/schroedinger/schrodecoder.c
+++ b/schroedinger/schrodecoder.c
@@ -569,13 +569,10 @@ schro_decoder_pull (SchroDecoder *decoder)
 int
 schro_decoder_push_ready (SchroDecoder *decoder)
 {
-  int ret;
-
-  schro_async_lock (decoder->async);
-  ret = schro_queue_is_full (decoder->picture_queue);
-  schro_async_unlock (decoder->async);
-
-  return (ret == FALSE);
+  /* The synchronizer is always able to accept new data */
+  /* NB, clients shouldn't use this function to rate control
+   * their work */
+  return TRUE;
 }
 
 int
-- 
1.5.6.5


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Schrodinger-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/schrodinger-devel

Reply via email to