summaryrefslogtreecommitdiff
path: root/ges/gstframepositionner.c
diff options
context:
space:
mode:
Diffstat (limited to 'ges/gstframepositionner.c')
-rw-r--r--ges/gstframepositionner.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ges/gstframepositionner.c b/ges/gstframepositionner.c
index 9d2ece4207..805dad6c6a 100644
--- a/ges/gstframepositionner.c
+++ b/ges/gstframepositionner.c
@@ -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)