Skip to content
Snippets Groups Projects
Commit b13816d0 authored by Thibault Saunier's avatar Thibault Saunier :cactus:
Browse files

videosource: Force aspect-ratio=1/1 as compositor does not properly handle different values yet

Working around https://bugzilla.gnome.org/show_bug.cgi?id=756207 for 1.6

Fixes T3349
parent 1472b7b3
No related branches found
No related tags found
Loading
......@@ -87,9 +87,11 @@ gst_frame_positionner_update_properties (GstFramePositionner * pos,
if (pos->track_width && pos->track_height) {
caps =
gst_caps_new_simple ("video/x-raw", "width", G_TYPE_INT,
pos->track_width, "height", G_TYPE_INT, pos->track_height, NULL);
pos->track_width, "height", G_TYPE_INT, pos->track_height,
"pixel-aspect-ratio", GST_TYPE_FRACTION, 1, 1, NULL);
} else {
caps = gst_caps_new_empty_simple ("video/x-raw");
caps = gst_caps_new_simple ("video/x-raw",
"pixel-aspect-ratio", GST_TYPE_FRACTION, 1, 1, NULL);
}
if (pos->fps_n != -1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment