mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +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++) {
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue