[Bug 745366] concat: Forward FLUSH_START / FLUSH_STOP events

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Mar 28 14:49:32 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=745366

Carlos Rafael Giani <dv at pseudoterminal.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #298204|needs-work                  |none
             status|                            |
 Attachment #298204|0                           |1
        is obsolete|                            |

--- Comment #2 from Carlos Rafael Giani <dv at pseudoterminal.org> ---
Created attachment 300525
  --> https://bugzilla.gnome.org/attachment.cgi?id=300525&action=edit
Patch for flush events in concat, v2

Added checks to see if the pad the flush events come from is the active one.
As for seek, I believe the check is there in the code already. From
gstconcat.c:

      GstPad *sinkpad = NULL;

      g_mutex_lock (&self->lock);
      if ((sinkpad = self->current_sinkpad))
        gst_object_ref (sinkpad);
      g_mutex_unlock (&self->lock);
      if (sinkpad) {
        ret = gst_pad_push_event (sinkpad, event);
        gst_object_unref (sinkpad);
      } else {
        ....

-- 
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