mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-21 08:56:56 -05:00
treewide: replace !strcmp() with spa_streq()
This change is only done in source files for now, header files will be done separately.
This commit is contained in:
parent
7697ed0757
commit
95a84e797a
28 changed files with 239 additions and 221 deletions
|
|
@ -69,10 +69,10 @@ gst_pipewire_device_reconfigure_element (GstDevice * device, GstElement * elemen
|
|||
GstPipeWireDevice *pipewire_dev = GST_PIPEWIRE_DEVICE (device);
|
||||
gchar *str;
|
||||
|
||||
if (!strcmp (pipewire_dev->element, "pipewiresrc")) {
|
||||
if (spa_streq(pipewire_dev->element, "pipewiresrc")) {
|
||||
if (!GST_IS_PIPEWIRE_SRC (element))
|
||||
return FALSE;
|
||||
} else if (!strcmp (pipewire_dev->element, "pipewiresink")) {
|
||||
} else if (spa_streq(pipewire_dev->element, "pipewiresink")) {
|
||||
if (!GST_IS_PIPEWIRE_SINK (element))
|
||||
return FALSE;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue