niimaqsrc: make sure we return GST_FLOW_ERROR on timeout
This commit is contained in:
parent
80176d2308
commit
8cabf9f434
@ -684,6 +684,9 @@ gst_niimaqsrc_create (GstPushSrc * psrc, GstBuffer ** buffer)
|
|||||||
|
|
||||||
error:
|
error:
|
||||||
{
|
{
|
||||||
|
/* make sure we return an error */
|
||||||
|
if (ret == GST_FLOW_OK)
|
||||||
|
ret = GST_FLOW_ERROR;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user