- isprint seems to detect and ascii stream better
Original commit message from CVS: - isprint seems to detect and ascii stream better
This commit is contained in:
parent
c05d43dad3
commit
e3741783bd
@ -212,7 +212,7 @@ text_type_find (GstBuffer *buf, gpointer private)
|
|||||||
gint i;
|
gint i;
|
||||||
|
|
||||||
for (i=0; i<GST_BUFFER_SIZE (buf); i++) {
|
for (i=0; i<GST_BUFFER_SIZE (buf); i++) {
|
||||||
if (!isascii(*(data+i)))
|
if (!isprint(*(data+i)))
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user