[Bug 688188] videomixer: _sink_clip: GStreamer-CRITICAL **: _gst_util_uint64_scale_int: assertion `denom > 0' failed

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed May 1 14:17:12 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=688188
  GStreamer | gst-plugins-good | 1.x

--- Comment #4 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2013-05-01 21:17:04 UTC ---
Created an attachment (id=243010)
 View: https://bugzilla.gnome.org/attachment.cgi?id=243010
 Review: https://bugzilla.gnome.org/review?bug=688188&attachment=243010

Check FPS_N to prevent zero division

This fails when called from a segment event with a fake buffer that has no
duration. We need to check FPS_N since on the first segment event there is no
caps in the videomixer, and even on second event, we can still have dynamic
framerate (0/1).

I'm basing this patch on the fact that we assert but that the application still
works properly.

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