gnome-media r4016 - trunk/gstreamer-properties



Author: vuntz
Date: Mon Nov  3 01:19:47 2008
New Revision: 4016
URL: http://svn.gnome.org/viewvc/gnome-media?rev=4016&view=rev

Log:
2008-11-03  Vincent Untz  <vuntz gnome org>

	* pipeline-tests.c: (gst_pipeline_string_from_desc): fix string
	comparison. It's not python :-)


Modified:
   trunk/gstreamer-properties/ChangeLog
   trunk/gstreamer-properties/pipeline-tests.c

Modified: trunk/gstreamer-properties/pipeline-tests.c
==============================================================================
--- trunk/gstreamer-properties/pipeline-tests.c	(original)
+++ trunk/gstreamer-properties/pipeline-tests.c	Mon Nov  3 01:19:47 2008
@@ -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 && *pipeline_desc->device != '\0') {
 	  pipeline = g_strdup_printf ("%s device=\"%s\"", pipeline_desc->pipeline,
                                 pipeline_desc->device);
   }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]