[rygel-gst-0-10-fullscreen-renderer] Force proper aspect ratio



commit 6ac2b1a6948990bc73b2df6139369748b935f3a5
Author: Jens Georg <mail jensge org>
Date:   Thu Feb 14 12:03:01 2013 +0100

    Force proper aspect ratio

 src/fullscreen-renderer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/fullscreen-renderer.c b/src/fullscreen-renderer.c
index 15056e2..828968f 100644
--- a/src/fullscreen-renderer.c
+++ b/src/fullscreen-renderer.c
@@ -121,6 +121,7 @@ on_bus (GstBus *bus G_GNUC_UNUSED,
     GstXOverlay *overlay;
     overlay = GST_X_OVERLAY (GST_MESSAGE_SRC (message));
     gst_x_overlay_set_window_handle (overlay, data->handle);
+    g_object_set (GST_MESSAGE_SRC (message), "force-aspect-ratio", TRUE, NULL);
   }
 
   gst_message_unref (message);


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