gentlsrc: set attributes on every create function if the property was modified

This commit is contained in:
Joshua M. Doe 2021-06-07 10:03:04 -04:00
parent 32661673ab
commit de15005b2d

View File

@ -1726,6 +1726,8 @@ gst_gentlsrc_create (GstPushSrc * psrc, GstBuffer ** buf)
GST_LOG_OBJECT (src, "create"); GST_LOG_OBJECT (src, "create");
gst_gentlsrc_set_attributes (src);
*buf = gst_gentlsrc_get_buffer (src); *buf = gst_gentlsrc_get_buffer (src);
if (!*buf) { if (!*buf) {
return GST_FLOW_ERROR; return GST_FLOW_ERROR;