]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/commitdiff
collectpads2: delay collecting buffer if a pad newly set waiting
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Thu, 15 Dec 2011 13:31:05 +0000 (14:31 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 16 Dec 2011 11:40:47 +0000 (11:40 +0000)
... as commented; make code correspond to it (again).

libs/gst/base/gstcollectpads2.c

index 0505da60283ae679dde388594a657d120b64ceeb..932e3c903aad9ffffa4d92378d5cd0878de796a3 100644 (file)
@@ -1527,6 +1527,7 @@ gst_collect_pads2_default_collected (GstCollectPads2 * pads, gpointer user_data)
      * so give another thread a chance to deliver a possibly
      * older buffer; don't charge on yet with the current oldest */
     ret = GST_FLOW_OK;
+    goto done;
   }
 
   best = pads->earliest_data;