From d5aa363e7a0f33946f31d4cd8719b7d6644da91e Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Mon, 2 Sep 2013 09:40:58 +0200 Subject: [PATCH] mi-info: playbin handles force-aspect-ration in 1.0 --- mediainfo/src/mi-info.vala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mediainfo/src/mi-info.vala b/mediainfo/src/mi-info.vala index d4321840bb..c4abb165cd 100644 --- a/mediainfo/src/mi-info.vala +++ b/mediainfo/src/mi-info.vala @@ -822,9 +822,11 @@ public class MediaInfo.Info : Box drawing_frame.set (0.5f, 0.5f, video_ratio, false); stdout.printf("on_element_sync_message:video_ratio: %f\n", video_ratio); + /* playbin does this in 1.0 if (message.src.get_class ().find_property ("force-aspect-ratio") != null) { ((GLib.Object)message.src).set_property ("force-aspect-ratio", true); } + */ } }