mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
applemedia: don't use the deprecated g_strcasecmp function.
Replace g_strcasecmp with g_ascii_strcasecmp.
This commit is contained in:
parent
aae72680bd
commit
536a30f2df
1 changed files with 2 additions and 2 deletions
|
@ -481,10 +481,10 @@ gst_mio_video_src_open_device (GstMIOVideoSrc * self)
|
|||
gboolean match;
|
||||
|
||||
if (self->device_uid != NULL) {
|
||||
match = g_strcasecmp (gst_mio_video_device_get_uid (device),
|
||||
match = g_ascii_strcasecmp (gst_mio_video_device_get_uid (device),
|
||||
self->device_uid) == 0;
|
||||
} else if (self->device_name != NULL) {
|
||||
match = g_strcasecmp (gst_mio_video_device_get_name (device),
|
||||
match = g_ascii_strcasecmp (gst_mio_video_device_get_name (device),
|
||||
self->device_name) == 0;
|
||||
} else if (self->device_index >= 0) {
|
||||
match = device_idx == self->device_index;
|
||||
|
|
Loading…
Reference in a new issue