[rygel-gst-0-10-fullscreen-renderer] Force proper aspect ratio
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel-gst-0-10-fullscreen-renderer] Force proper aspect ratio
- Date: Thu, 14 Feb 2013 11:03:06 +0000 (UTC)
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]