Commit 5af6f5bf authored by Michael Goffioul's avatar Michael Goffioul Committed by Tim-Philipp Müller

pulsesink: fix crash in webkit under rapid <audio> src switching

https://bugzilla.gnome.org/show_bug.cgi?id=707008
parent 27201056
......@@ -2078,7 +2078,7 @@ gst_pulsesink_pad_acceptcaps (GstPad * pad, GstCaps * caps)
}
/* Either template caps didn't match, or we're still in NULL state */
if (!ret || !pbuf->context)
if (!ret || !pbuf || !pbuf->context)
goto done;
/* If we've not got fixed caps, creating a stream might fail, so let's just
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment