[totem] Remove unused variable from BaconVideoWidget
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] Remove unused variable from BaconVideoWidget
- Date: Wed, 15 Dec 2010 22:41:02 +0000 (UTC)
commit be8183ef97c4ddad67d8392a75d469e439942cad
Author: Philip Withnall <philip tecnocode co uk>
Date: Wed Dec 15 22:29:34 2010 +0000
Remove unused variable from BaconVideoWidget
vis_changed appeared to only ever be FALSE, and has been so since at least
2.30.
src/backend/bacon-video-widget-gst-0.10.c | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index bf55ad7..4a0c6a1 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -211,7 +211,6 @@ struct BaconVideoWidgetPrivate
/* Visual effects */
GList *vis_plugins_list;
gboolean show_vfx;
- gboolean vis_changed;
BvwVisualizationQuality visq;
gchar *vis_element_name;
GstElement *audio_capsfilter;
@@ -3845,11 +3844,6 @@ bacon_video_widget_open (BaconVideoWidget * bvw,
allocation.height);
}
- /* Visualization settings changed */
- if (bvw->priv->vis_changed) {
- setup_vis (bvw);
- }
-
if (bvw->priv->ready_idle_id) {
g_source_remove (bvw->priv->ready_idle_id);
bvw->priv->ready_idle_id = 0;
@@ -5047,9 +5041,7 @@ setup_vis (BaconVideoWidget * bvw)
gtk_widget_queue_draw (GTK_WIDGET (bvw));
}
-
- bvw->priv->vis_changed = FALSE;
-
+
beach:
g_object_set (bvw->priv->play, "vis-plugin", vis_bin, NULL);
if (vis_bin)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]