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
This commit is contained in:
Benjamin Otte 2003-10-13 16:59:44 +00:00
parent abd657d52c
commit 62c7ce69c9

View file

@ -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);