mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
ccconverter: Don't output empty buffers
This commit is contained in:
parent
8171560053
commit
8006979109
1 changed files with 2 additions and 1 deletions
|
@ -1292,7 +1292,8 @@ gst_cc_converter_transform (GstBaseTransform * base, GstBuffer * inbuf,
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (self, "Converted to %" GST_PTR_FORMAT, outbuf);
|
GST_DEBUG_OBJECT (self, "Converted to %" GST_PTR_FORMAT, outbuf);
|
||||||
|
|
||||||
return GST_FLOW_OK;
|
return gst_buffer_get_size (outbuf) >
|
||||||
|
0 ? GST_FLOW_OK : GST_BASE_TRANSFORM_FLOW_DROPPED;
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
|
Loading…
Reference in a new issue