mi-info: playbin handles force-aspect-ration in 1.0

This commit is contained in:
Stefan Sauer 2013-09-02 09:40:58 +02:00
parent 3d6173aaba
commit d5aa363e7a

View file

@ -822,9 +822,11 @@ public class MediaInfo.Info : Box
drawing_frame.set (0.5f, 0.5f, video_ratio, false); drawing_frame.set (0.5f, 0.5f, video_ratio, false);
stdout.printf("on_element_sync_message:video_ratio: %f\n", video_ratio); 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) { if (message.src.get_class ().find_property ("force-aspect-ratio") != null) {
((GLib.Object)message.src).set_property ("force-aspect-ratio", true); ((GLib.Object)message.src).set_property ("force-aspect-ratio", true);
} }
*/
} }
} }