eglglessink: Fix expose
This commit is contained in:
parent
465374f3c8
commit
4dc028a2a3
@ -1668,8 +1668,8 @@ gst_eglglessink_queue_buffer (GstEglGlesSink * eglglessink, GstBuffer * buf)
|
|||||||
GstDataQueueItem *item = g_slice_new0 (GstDataQueueItem);
|
GstDataQueueItem *item = g_slice_new0 (GstDataQueueItem);
|
||||||
|
|
||||||
item->object = GST_MINI_OBJECT_CAST (buf);
|
item->object = GST_MINI_OBJECT_CAST (buf);
|
||||||
item->size = GST_BUFFER_SIZE (buf);
|
item->size = (buf ? GST_BUFFER_SIZE (buf) : 0);
|
||||||
item->duration = GST_BUFFER_DURATION (buf);
|
item->duration = (buf ? GST_BUFFER_DURATION (buf) : GST_CLOCK_TIME_NONE);
|
||||||
item->visible = (buf ? TRUE : FALSE);
|
item->visible = (buf ? TRUE : FALSE);
|
||||||
item->destroy = (GDestroyNotify) queue_item_destroy;
|
item->destroy = (GDestroyNotify) queue_item_destroy;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user