[gstreamer-bugs] [Bug 612881] [utils] gst_pad_proxy_setcaps() doesn't handler iterator resyncs

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Apr 13 01:18:09 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=612881
  GStreamer | gstreamer (core) | unspecified

Håvard Graff (hgr) <havard.graff> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #6 from Håvard Graff (hgr) <havard.graff at tandberg.com> 2010-04-13 08:18:03 UTC ---
I see from your fix that GST_ITERATOR_OK is handled like an error.

I have seen a couple of times that this indeed can be the case when stressing
pad-request/release on gsttee, so my question is wether GST_ITERATOR_OK is
always an error, or if this also could get a resync?

So that you could have:

    switch (res) {
      case GST_ITERATOR_RESYNC:
      case GST_ITERATOR_OK:
        /* reset return value */
        g_value_set_boolean (&ret, TRUE);
        gst_iterator_resync (iter);
        break;
      case GST_ITERATOR_DONE:
        /* all pads iterated, return collected value */
        goto done;
      default:
        /* iterator returned _ERROR or premature end with _OK,
         * mark an error and exit */
        goto error;
    }

Any thoughts?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Gstreamer-bugs mailing list