summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/closedcaption/gstccconverter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/closedcaption/gstccconverter.c b/ext/closedcaption/gstccconverter.c
index 3f37d69c5..868f181a1 100644
--- a/ext/closedcaption/gstccconverter.c
+++ b/ext/closedcaption/gstccconverter.c
@@ -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