[longomatch] Fix previous commit
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix previous commit
- Date: Sat, 10 Nov 2012 20:08:34 +0000 (UTC)
commit 066bdfff4f995195a63922ea4c4a28c2f2fb3d0f
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sat Nov 10 20:46:49 2012 +0100
Fix previous commit
libcesarplayer/bacon-video-widget-gst-0.10.c | 39 ++++++++++++--------------
1 files changed, 18 insertions(+), 21 deletions(-)
---
diff --git a/libcesarplayer/bacon-video-widget-gst-0.10.c b/libcesarplayer/bacon-video-widget-gst-0.10.c
index cd280af..2ecc0da 100644
--- a/libcesarplayer/bacon-video-widget-gst-0.10.c
+++ b/libcesarplayer/bacon-video-widget-gst-0.10.c
@@ -77,7 +77,6 @@
#include "baconvideowidget-marshal.h"
#include "common.h"
#include "gstscreenshot.h"
-#include "bacon-resize.h"
#include "video-utils.h"
#define DEFAULT_HEIGHT 420
@@ -221,8 +220,6 @@ struct BaconVideoWidgetPrivate
GList *missing_plugins; /* GList of GstMessages */
gboolean plugin_install_in_progress;
- /* Bacon resize */
- BaconResize *bacon_resize;
};
static void bacon_video_widget_set_property (GObject * object,
@@ -3355,29 +3352,29 @@ bacon_video_widget_get_volume (BaconVideoWidget * bvw)
*
* Fullscreen rendering is done only when possible, as xvidmode is required.
**/
-void
-bacon_video_widget_set_fullscreen (BaconVideoWidget * bvw, gboolean fullscreen)
-{
- gboolean have_xvidmode;
+/*void*/
+/*bacon_video_widget_set_fullscreen (BaconVideoWidget * bvw, gboolean fullscreen)*/
+/*{*/
+ /*gboolean have_xvidmode;*/
- g_return_if_fail (bvw != NULL);
- g_return_if_fail (BACON_IS_VIDEO_WIDGET (bvw));
+ /*g_return_if_fail (bvw != NULL);*/
+ /*g_return_if_fail (BACON_IS_VIDEO_WIDGET (bvw));*/
- g_object_get (G_OBJECT (bvw->priv->bacon_resize),
- "have-xvidmode", &have_xvidmode, NULL);
+ /*g_object_get (G_OBJECT (bvw->priv->bacon_resize),*/
+ /*"have-xvidmode", &have_xvidmode, NULL);*/
- if (have_xvidmode == FALSE)
- return;
+ /*if (have_xvidmode == FALSE)*/
+ /*return;*/
- bvw->priv->fullscreen_mode = fullscreen;
+ /*bvw->priv->fullscreen_mode = fullscreen;*/
- if (fullscreen == FALSE) {
- bacon_resize_restore (bvw->priv->bacon_resize);
- /* Turn fullscreen on when we have xvidmode */
- } else if (have_xvidmode != FALSE) {
- bacon_resize_resize (bvw->priv->bacon_resize);
- }
-}
+ /*if (fullscreen == FALSE) {*/
+ /*bacon_resize_restore (bvw->priv->bacon_resize);*/
+ /*[> Turn fullscreen on when we have xvidmode <]*/
+ /*} else if (have_xvidmode != FALSE) {*/
+ /*bacon_resize_resize (bvw->priv->bacon_resize);*/
+ /*}*/
+/*}*/
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]