[totem/gnome-2-32] Set deinterlace and download flags separately
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/gnome-2-32] Set deinterlace and download flags separately
- Date: Wed, 4 Aug 2010 15:30:51 +0000 (UTC)
commit e59e247d6a5b1de84e997b42224759aa61ae6beb
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 12334e9..84facb2 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -6756,8 +6756,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]