GNOME Bugzilla – Bug 541962
[directdrawsink] crash when exposing in GST_STATE_READY
Last modified: 2009-08-09 11:41:02 UTC
Hi, Steps to Reproduce: Go to GST_STATE_READY. Then resize or obscur the window. Actual Results: Crash into gst_directdraw_sink_show_frame due to a zero division. (because when going to GST_STATE_READY the height is set to 0) J.
Created attachment 114151 [details] [review] patch A very small patch to avoid the crash. But I am not sure if it's the best way. So do not hesitate to fix the bug in otherway. J.
directdrawsink is in -bad now. Julien: any reason not to commit this?
The patch looks very correct to me so I've committed it now to get it into the next -bad release. commit 182dad5c6694cd4bee1fa030d9b968687e21d522 Author: Julien Isorce <julien.isorce@gmail.com> Date: Sun Aug 9 12:25:01 2009 +0200 directdrawsink: Fix crash when exposing in GST_STATE_READY Fixes bug #541962.