mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue