[totem] Set deinterlace and download flags separately



commit f04d1c81319c3e25f22b06552f7c74183acbc597
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jun 7 17:46:58 2010 +0100

    Set deinterlace and download flags separately
    
    So that we can debug download buffering problems on git master.

 src/backend/bacon-video-widget-gst-0.10.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index 917fecf..00281a9 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -6692,8 +6692,10 @@ bacon_video_widget_new (int width, int height,
    * and the deinterlace flag, for video only */
   if (type == BVW_USE_TYPE_VIDEO) {
     g_object_get (bvw->priv->play, "flags", &flags, NULL);
-    g_object_set (bvw->priv->play, "flags",
-		  flags | GST_PLAY_FLAG_DOWNLOAD | GST_PLAY_FLAG_DEINTERLACE, NULL);
+    flags |= GST_PLAY_FLAG_DOWNLOAD;
+    g_object_set (bvw->priv->play, "flags", flags, NULL);
+    flags |= GST_PLAY_FLAG_DEINTERLACE;
+    g_object_set (bvw->priv->play, "flags", flags, NULL);
   }
 
   /* Disable video decoding in audio mode */



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