totem r5979 - in trunk: . src/backend
- From: robinst svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5979 - in trunk: . src/backend
- Date: Mon, 16 Feb 2009 09:27:09 +0000 (UTC)
Author: robinst
Date: Mon Feb 16 09:27:09 2009
New Revision: 5979
URL: http://svn.gnome.org/viewvc/totem?rev=5979&view=rev
Log:
2009-02-16 Robin Stocker <robin nibor org>
reviewed by: Philip Withnall <philip tecnocode co uk>
* src/backend/bacon-video-widget-gst-0.10.c: Remove unused fields of
BaconVideoWidgetPrivate (Closes: #571888)
Modified:
trunk/ChangeLog
trunk/src/backend/bacon-video-widget-gst-0.10.c
Modified: trunk/src/backend/bacon-video-widget-gst-0.10.c
==============================================================================
--- trunk/src/backend/bacon-video-widget-gst-0.10.c (original)
+++ trunk/src/backend/bacon-video-widget-gst-0.10.c Mon Feb 16 09:27:09 2009
@@ -138,7 +138,6 @@
gboolean media_has_audio;
gint seekable; /* -1 = don't know, FALSE = no */
gint64 stream_length;
- gint64 current_time_nanos;
gint64 current_time;
gdouble current_position;
gboolean is_live;
@@ -150,7 +149,6 @@
gboolean got_redirect;
GdkWindow *video_window;
- GtkAllocation video_window_allocation;
/* Visual effects */
GList *vis_plugins_list;
@@ -161,7 +159,6 @@
GstElement *audio_capsfilter;
/* Other stuff */
- gint xpos, ypos;
gboolean logo_mode;
gboolean cursor_shown;
gboolean fullscreen_mode;
@@ -178,9 +175,6 @@
gint video_fps_n;
gint video_fps_d;
- guint init_width;
- guint init_height;
-
gint zoom;
gchar *media_device;
@@ -909,11 +903,6 @@
x = (allocation->width - width) / 2;
y = (allocation->height - height) / 2;
- bvw->priv->video_window_allocation.width = width;
- bvw->priv->video_window_allocation.height = height;
- bvw->priv->video_window_allocation.x = x;
- bvw->priv->video_window_allocation.y = y;
-
gdk_window_move_resize (bvw->priv->video_window, x, y, width, height);
gtk_widget_queue_draw (GTK_WIDGET (bvw));
}
@@ -1652,8 +1641,6 @@
g_return_if_fail (bvw != NULL);
g_return_if_fail (BACON_IS_VIDEO_WIDGET (bvw));
- bvw->priv->current_time_nanos = time_nanos;
-
bvw->priv->current_time = (gint64) time_nanos / GST_MSECOND;
if (bvw->priv->stream_length == 0) {
@@ -4996,8 +4983,6 @@
bvw->priv->speakersetup = BVW_AUDIO_SOUND_STEREO;
bvw->priv->media_device = g_strdup ("/dev/dvd");
- bvw->priv->init_width = 240;
- bvw->priv->init_height = 180;
bvw->priv->visq = VISUAL_SMALL;
bvw->priv->show_vfx = FALSE;
bvw->priv->vis_element_name = g_strdup ("goom");
@@ -5031,8 +5016,6 @@
if (type == BVW_USE_TYPE_VIDEO) {
if (width > 0 && width < SMALL_STREAM_WIDTH &&
height > 0 && height < SMALL_STREAM_HEIGHT) {
- bvw->priv->init_height = height;
- bvw->priv->init_width = width;
GST_INFO ("forcing ximagesink, image size only %dx%d", width, height);
video_sink = gst_element_factory_make ("ximagesink", "video-sink");
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]