patches/rhythmbox-01-playcd.diff
author yippi
Mon, 27 Sep 2010 21:07:51 +0000
changeset 20108 51df67ca9307
parent 18034 8205f1fb478b
permissions -rw-r--r--
I had these modules listed as being owned by me, but they are really owned by wangke, correcting.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11983
3db48846ae69 2008-03-31 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     1
--- rhythmbox-0.11.2/plugins/audiocd/rb-audiocd-source.c.bak	2007-12-07 13:57:27.000000000 +0800
3db48846ae69 2008-03-31 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     2
+++ rhythmbox-0.11.2/plugins/audiocd/rb-audiocd-source.c	2007-06-17 11:20:32.000000000 +0800
3db48846ae69 2008-03-31 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     3
@@ -664,6 +664,10 @@
3db48846ae69 2008-03-31 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     4
 	}
3db48846ae69 2008-03-31 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     5
 
3db48846ae69 2008-03-31 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     6
 	rb_debug ("cdda longname: %s", gst_element_factory_get_longname (gst_element_get_factory (priv->cdda)));
3db48846ae69 2008-03-31 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     7
+
18034
8205f1fb478b Use "#if __sun" instead of "#if sun"
yippi
parents: 15464
diff changeset
     8
+#ifdef __sun
11983
3db48846ae69 2008-03-31 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     9
+       priv->device_path = g_strdup_printf ("/dev/rdsk/%s", priv->device_path + strlen ("/dev/dsk/"));
3db48846ae69 2008-03-31 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    10
+#endif
3db48846ae69 2008-03-31 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    11
 	g_object_set (G_OBJECT (priv->cdda), "device", priv->device_path, NULL);
3db48846ae69 2008-03-31 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    12
 	priv->pipeline = gst_pipeline_new ("pipeline");
3db48846ae69 2008-03-31 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    13
 	priv->fakesink = gst_element_factory_make ("fakesink", "fakesink");