summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2003-10-13 16:59:44 +0000
committerBenjamin Otte <otte@gnome.org>2003-10-13 16:59:44 +0000
commit62c7ce69c9d83c7d5b1264bf39268cb3962685ef (patch)
tree6761301a0c2eac9fb120046125b5cd2bd5642021
parentabd657d52cc464a103c5802ad540192192dd9ffb (diff)
downloadgstreamer-plugins-bad-62c7ce69c9d83c7d5b1264bf39268cb3962685ef.tar.gz
Woah, I'm f***ing annoyed that someonme never tests his changes and figures out that every freakin' format is identif...
Original commit message from CVS: Woah, I'm f***ing annoyed that someonme never tests his changes and figures out that every freakin' format is identified as text/plain
-rw-r--r--gst/festival/gstfestival.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c
index 314843645..a0f3b8f60 100644
--- a/gst/festival/gstfestival.c
+++ b/gst/festival/gstfestival.c
@@ -212,7 +212,7 @@ text_type_find (GstByteStream *bs, gpointer private)
for (i = 0; i < TEXT_SIZE; i++) {
if (!isprint (data[i]) && data[i] != '\n') {
- break;
+ goto out;
}
}
@@ -221,6 +221,7 @@ text_type_find (GstByteStream *bs, gpointer private)
"text/plain",
NULL);
}
+out:
if (buf != NULL) {
gst_buffer_unref (buf);