File gnome-media-stringcompare.patch of Package gnome-media

--- gstreamer-properties/pipeline-tests.c
+++ gstreamer-properties/pipeline-tests.c
@@ -63,7 +63,7 @@
 gst_pipeline_string_from_desc (GSTPPipelineDescription * pipeline_desc)
 {
 	gchar *pipeline = NULL;
-  if (pipeline_desc->device != NULL && pipeline_desc->device != "") {
+  if (pipeline_desc->device != NULL && strlen(pipeline_desc->device) > 0) {
 	  pipeline = g_strdup_printf ("%s device=\"%s\"", pipeline_desc->pipeline,
                                 pipeline_desc->device);
   }
openSUSE Build Service is sponsored by