[totem] backend: Remove dvd:/vcd: MRL special handling



commit 5e0def001ee7afb8baeb14f10d6c8f2c6e75992b
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Apr 11 12:33:09 2012 +0100

    backend: Remove dvd:/vcd: MRL special handling
    
    Because the backends handle this themselves, and we don't
    need to tell them where the media device actually is.

 src/backend/bacon-video-widget-gst-0.10.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index 6b3f182..43a5ff1 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -3469,18 +3469,6 @@ bacon_video_widget_open (BaconVideoWidget * bvw,
     /* Handle "icyx://" URLs from Orban/Coding Technologies AAC/aacPlus Player */
     g_free (bvw->priv->mrl);
     bvw->priv->mrl = g_strdup_printf ("http:%s", mrl + 5);
-  } else if (g_str_has_prefix (mrl, "dvd:///")) {
-    /* this allows to play backups of dvds */
-    g_free (bvw->priv->mrl);
-    bvw->priv->mrl = g_strdup ("dvd://");
-    g_free (bvw->priv->media_device);
-    bvw->priv->media_device = g_strdup (mrl + strlen ("dvd://"));
-  } else if (g_str_has_prefix (mrl, "vcd:///")) {
-    /* this allows to play backups of vcds */
-    g_free (bvw->priv->mrl);
-    bvw->priv->mrl = g_strdup ("vcd://");
-    g_free (bvw->priv->media_device);
-    bvw->priv->media_device = g_strdup (mrl + strlen ("vcd://"));
   }
 
   bvw->priv->got_redirect = FALSE;



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