[totem] backend: Put sink related code in correct location



commit 494804e8314631dc5a9584fa7d455da773ef6b16
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Apr 16 15:23:10 2012 +0100

    backend: Put sink related code in correct location

 src/backend/bacon-video-widget-gst-0.10.c |    3 +--
 1 files changed, 1 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 182b6ab..1347826 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -5941,6 +5941,7 @@ bacon_video_widget_initable_init (GInitable     *initable,
                    "Please check your GStreamer installation."));
     return FALSE;
   }
+  gst_bin_add (GST_BIN (bin), sink);
 
   /* The logo */
   bvw->priv->logo_frame = totem_aspect_frame_new ();
@@ -5967,8 +5968,6 @@ bacon_video_widget_initable_init (GInitable     *initable,
   clutter_actor_raise (CLUTTER_ACTOR (bvw->priv->frame),
 		       CLUTTER_ACTOR (bvw->priv->logo_frame));
 
-  gst_bin_add (GST_BIN (bin), sink);
-
   /* Add video balance */
   balance = gst_element_factory_make ("videobalance", "video_balance");
   gst_bin_add (GST_BIN (bin), balance);



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