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:
parent
abd657d52c
commit
62c7ce69c9
@ -212,7 +212,7 @@ text_type_find (GstByteStream *bs, gpointer private)
|
|||||||
|
|
||||||
for (i = 0; i < TEXT_SIZE; i++) {
|
for (i = 0; i < TEXT_SIZE; i++) {
|
||||||
if (!isprint (data[i]) && data[i] != '\n') {
|
if (!isprint (data[i]) && data[i] != '\n') {
|
||||||
break;
|
goto out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -221,6 +221,7 @@ text_type_find (GstByteStream *bs, gpointer private)
|
|||||||
"text/plain",
|
"text/plain",
|
||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
|
out:
|
||||||
|
|
||||||
if (buf != NULL) {
|
if (buf != NULL) {
|
||||||
gst_buffer_unref (buf);
|
gst_buffer_unref (buf);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user