Commit 80069791 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

ccconverter: Don't output empty buffers

parent 81715600
Pipeline #18700 passed with stages
in 31 minutes and 26 seconds
......@@ -1292,7 +1292,8 @@ gst_cc_converter_transform (GstBaseTransform * base, GstBuffer * inbuf,
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment