mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
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
1 changed files with 3 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue