mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
ximagesink: reset the pool
This commit is contained in:
parent
e993bde873
commit
825c650964
1 changed files with 5 additions and 3 deletions
|
@ -1811,9 +1811,11 @@ gst_ximagesink_reset (GstXImageSink * ximagesink)
|
|||
gst_buffer_unref (GST_BUFFER_CAST (ximagesink->cur_image));
|
||||
ximagesink->cur_image = NULL;
|
||||
}
|
||||
#if 0
|
||||
gst_ximagesink_bufferpool_clear (ximagesink);
|
||||
#endif
|
||||
|
||||
if (ximagesink->pool) {
|
||||
gst_object_unref (ximagesink->pool);
|
||||
ximagesink->pool = NULL;
|
||||
}
|
||||
|
||||
g_mutex_lock (ximagesink->flow_lock);
|
||||
if (ximagesink->xwindow) {
|
||||
|
|
Loading…
Reference in a new issue