mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
ximagesrc: remove pointless g_return_val_if_fail()
ximage won't ever be NULL here because the dispose function is called via ximage->dispose().
This commit is contained in:
parent
fa0870658d
commit
ba0eeaf8f4
1 changed files with 0 additions and 2 deletions
|
@ -320,8 +320,6 @@ gst_ximagesrc_buffer_dispose (GstBuffer * ximage)
|
|||
GstMetaXImage *meta;
|
||||
gboolean ret = TRUE;
|
||||
|
||||
g_return_val_if_fail (ximage != NULL, FALSE);
|
||||
|
||||
meta = GST_META_XIMAGE_GET (ximage);
|
||||
|
||||
parent = meta->parent;
|
||||
|
|
Loading…
Reference in a new issue