mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
- 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
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ text_type_find (GstBuffer *buf, gpointer private)
|
|||
gint i;
|
||||
|
||||
for (i=0; i<GST_BUFFER_SIZE (buf); i++) {
|
||||
if (!isascii(*(data+i)))
|
||||
if (!isprint(*(data+i)))
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue