[Bug 723646] mpeg4videoparse: push caps before segment when first data is a GAP

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Feb 4 19:04:14 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=723646
  GStreamer | gst-plugins-bad | unspecified

--- Comment #1 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2014-02-05 03:04:10 UTC ---
Created an attachment (id=268117)
 View: https://bugzilla.gnome.org/attachment.cgi?id=268117
 Review: https://bugzilla.gnome.org/review?bug=723646&attachment=268117

mpeg4videoparse: push caps before segment when first data is a GAP

mpeg4videoparse waits for the first buffer to be parsed before
pushing the caps downstream, but if the first data is a GAP it
will cause a flush on the pending events to push before the GAP
and it will likely push a segment before pushing the caps leading
to an assertion.

This patch fixes it by forcefully pushing a caps when a GAP is
received and a caps is needed.

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