mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
mi-info: playbin handles force-aspect-ration in 1.0
This commit is contained in:
parent
3d6173aaba
commit
d5aa363e7a
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue