brasero r981 - in branches/video: . src/plugins/gstreamer
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r981 - in branches/video: . src/plugins/gstreamer
- Date: Sat, 12 Jul 2008 18:16:55 +0000 (UTC)
Author: philippr
Date: Sat Jul 12 18:16:55 2008
New Revision: 981
URL: http://svn.gnome.org/viewvc/brasero?rev=981&view=rev
Log:
	Silence a warning in case gst-plugin-bad is not installed
	* src/plugins/gstreamer/burn-transcode.c
	(brasero_transcode_create_volume):
Modified:
   branches/video/ChangeLog
   branches/video/src/plugins/gstreamer/burn-transcode.c
Modified: branches/video/src/plugins/gstreamer/burn-transcode.c
==============================================================================
--- branches/video/src/plugins/gstreamer/burn-transcode.c	(original)
+++ branches/video/src/plugins/gstreamer/burn-transcode.c	Sat Jul 12 18:16:55 2008
@@ -243,11 +243,11 @@
 	||  brasero_track_tag_lookup (track, BRASERO_TRACK_GAIN_VALUE, NULL) == BRASERO_BURN_OK) {
 		BRASERO_JOB_LOG (transcode, "Found audio levels tags");
 		volume = gst_element_factory_make ("rgvolume", NULL);
-		g_object_set (volume,
-			      "album-mode", FALSE,
-			      NULL);
-
-		if (!volume)
+		if (volume)
+			g_object_set (volume,
+				      "album-mode", FALSE,
+				      NULL);
+		else
 			BRASERO_JOB_LOG (transcode, "rgvolume object couldn't be created");
 	}
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]