[Xfce4-commits] [apps/parole] 01/01: Likely fix to the dvd playback issue

noreply at xfce.org noreply at xfce.org
Wed Mar 26 03:09:41 CET 2014


This is an automated email from the git hooks/post-receive script.

bluesabre pushed a commit to branch master
in repository apps/parole.

commit 62f3b404a41bdce368fd3777328c966f87b860f4
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Tue Mar 25 22:09:28 2014 -0400

    Likely fix to the dvd playback issue
---
 src/gst/parole-gst.c |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/src/gst/parole-gst.c b/src/gst/parole-gst.c
index 8cd8b73..66a862a 100644
--- a/src/gst/parole-gst.c
+++ b/src/gst/parole-gst.c
@@ -2561,7 +2561,16 @@ void parole_gst_play_device_uri (ParoleGst *gst, const gchar *uri, const gchar *
     if ( G_UNLIKELY (!g_strcmp0 (uri, "cdda:/") ) )
         local_uri = "cdda://";
     else
-        local_uri = uri;
+    {
+        if (g_str_has_prefix(device, "/dev/"))
+        {
+            local_uri = g_strconcat(uri, "/", device, NULL);
+        }
+        else
+        {
+            local_uri = uri;
+        }
+    }
     
     parole_gst_play_uri (gst, local_uri, NULL);
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list