[gstreamer-bugs] [Bug 641400] [deinterlace] Handle image caps without asserting

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Feb 3 11:33:15 PST 2011


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

--- Comment #1 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2011-02-03 19:33:07 UTC ---
Created an attachment (id=180017)
 View: https://bugzilla.gnome.org/attachment.cgi?id=180017
 Review: https://bugzilla.gnome.org/review?bug=641400&attachment=180017

deinterlace: Handle image caps without asserting

Images might have framerate=0/1 in the caps, which caused an
assertion on deinterlace. I don't know of interlaced image formats
but deinterlace might be hardcoded on some generic pipelines and
it shouldn't assert.

The fix was to set field_duration to 0 if the input has a framerate
with a 0 numerator.

This patch also adds checks for this situation on the unit tests.

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