d3dvideosink: Deactivate the fallback buffer pool when replacing it during caps changes

https://bugzilla.gnome.org/show_bug.cgi?id=744615
This commit is contained in:
Sebastian Dröge 2015-02-24 11:18:38 +02:00
parent 021bfa99a1
commit f53bc227a8

View file

@ -398,8 +398,10 @@ gst_d3dvideosink_set_caps (GstBaseSink * bsink, GstCaps * caps)
if (oldpool)
gst_object_unref (oldpool);
if (oldfbpool)
if (oldfbpool) {
gst_buffer_pool_set_active (oldfbpool, FALSE);
gst_object_unref (oldfbpool);
}
return TRUE;
/* ERRORS */