[totem] baconv-video-widget-gst-0.10: queue-size property doesn't exist in playbin2



commit 8814f0c880fb88f0a2476335a67b2dd1a741e0ba
Author: Edward Hervey <bilboed bilboed com>
Date:   Sat Mar 27 13:21:49 2010 +0100

    baconv-video-widget-gst-0.10: queue-size property doesn't exist in playbin2
    
    Therefore don't try to set it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=614095

 src/backend/bacon-video-widget-gst-0.10.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index 833e9c2..90ae434 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -6248,9 +6248,6 @@ cb_gconf (GConfClient * client,
   if (!strcmp (entry->key, "/apps/totem/network-buffer-threshold")) {
     g_object_set (bvw->priv->play, "queue-threshold",
         (guint64) (GST_SECOND * gconf_value_get_float (entry->value)), NULL);
-  } else if (!strcmp (entry->key, "/apps/totem/buffer-size")) {
-    g_object_set (bvw->priv->play, "queue-size",
-        (guint64) (GST_SECOND * gconf_value_get_float (entry->value)), NULL);
   }
 }
 
@@ -6984,13 +6981,6 @@ bacon_video_widget_new (int width, int height,
 
   /* those are private to us, i.e. not Xine-compatible */
   confvalue = gconf_client_get_without_default (bvw->priv->gc,
-      GCONF_PREFIX "/buffer-size", NULL);
-  if (confvalue != NULL) {
-    g_object_set (bvw->priv->play, "queue-size",
-        (guint64) (GST_SECOND * gconf_value_get_float (confvalue)), NULL);
-    gconf_value_free (confvalue);
-  }
-  confvalue = gconf_client_get_without_default (bvw->priv->gc,
       GCONF_PREFIX "/network-buffer-threshold", NULL);
   if (confvalue != NULL) {
     g_object_set (bvw->priv->play, "queue-threshold",



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