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:
parent
021bfa99a1
commit
f53bc227a8
@ -398,8 +398,10 @@ gst_d3dvideosink_set_caps (GstBaseSink * bsink, GstCaps * caps)
|
|||||||
|
|
||||||
if (oldpool)
|
if (oldpool)
|
||||||
gst_object_unref (oldpool);
|
gst_object_unref (oldpool);
|
||||||
if (oldfbpool)
|
if (oldfbpool) {
|
||||||
|
gst_buffer_pool_set_active (oldfbpool, FALSE);
|
||||||
gst_object_unref (oldfbpool);
|
gst_object_unref (oldfbpool);
|
||||||
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
/* ERRORS */
|
/* ERRORS */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user