[Xfce4-commits] <parole:master> GStreamer is refusing to play cdda:/ but cdda:// so change it.

Ali Abdallah noreply at xfce.org
Tue Nov 17 09:46:01 CET 2009


Updating branch refs/heads/master
         to 2d4de941169c0b38656ef7671dfcd4bc1827e367 (commit)
       from 05c96e3578e7f2e8c5c093701b60cf5fe4c5e2b0 (commit)

commit 2d4de941169c0b38656ef7671dfcd4bc1827e367
Author: Ali Abdallah <ali at ali-xfce.org>
Date:   Tue Nov 17 09:44:04 2009 +0100

    GStreamer is refusing to play cdda:/ but cdda:// so change it.

 parole/parole-disc.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/parole/parole-disc.c b/parole/parole-disc.c
index fb3c2d0..4e29c28 100644
--- a/parole/parole-disc.c
+++ b/parole/parole-disc.c
@@ -152,7 +152,7 @@ parole_disc_add_mount_to_menu (ParoleDisc *disc, GMount *mount, const gchar *dev
     if ( g_file_has_uri_scheme (file, "cdda") )
     {
 	kind = PAROLE_DISC_CDDA;
-	uri = g_strdup ("cdda:/");
+	uri = g_strdup ("cdda://");
 	goto got_cdda;
     }
 	
@@ -183,7 +183,7 @@ parole_disc_add_mount_to_menu (ParoleDisc *disc, GMount *mount, const gchar *dev
 	else if ( !g_strcmp0 (content_type[i], "x-content/audio-cdda") )
 	{
 	    kind = PAROLE_DISC_CDDA;
-	    uri = g_strdup ("cdda:/");
+	    uri = g_strdup ("cdda://");
 	    break;
 	}
     }
@@ -242,7 +242,7 @@ parole_disc_check_cdrom (ParoleDisc *disc, GVolume *volume, const gchar *device)
 		if ( drive == CDS_AUDIO || drive == CDS_MIXED )
 		{
 		    MountData *data;
-		    data = parole_disc_get_mount_data (disc, g_volume_get_name (volume), "cdda:/", device, PAROLE_DISC_CDDA);
+		    data = parole_disc_get_mount_data (disc, g_volume_get_name (volume), "cdda://", device, PAROLE_DISC_CDDA);
 		    g_ptr_array_add (disc->priv->array, data);
 		}
 	    }



More information about the Xfce4-commits mailing list