From f1d298a85bd18ca43070bb5885020e1a8db24021 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 3 Jan 2012 15:26:54 +0100 Subject: [PATCH] GST_FLOW_UNEXPECTED -> GST_FLOW_EOS --- plugins/elements/gstdataurisrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/elements/gstdataurisrc.c b/plugins/elements/gstdataurisrc.c index 0887dc2..92c1607 100644 --- a/plugins/elements/gstdataurisrc.c +++ b/plugins/elements/gstdataurisrc.c @@ -226,7 +226,7 @@ gst_data_uri_src_create (GstBaseSrc * basesrc, guint64 offset, guint size, /* This is only correct because GstBaseSrc already clips size for us to be no * larger than the max. available size if a segment at the end is requested */ if (offset + size > gst_buffer_get_size (src->buffer)) { - ret = GST_FLOW_UNEXPECTED; + ret = GST_FLOW_EOS; } else { ret = GST_FLOW_OK; *buf = -- 2.7.4