Reformat a comment so that lines stay in 80 characters
[experiments/gstreamer.git] / gst-custom-player.py
index eef3f6b..cbeace2 100755 (executable)
@@ -45,7 +45,7 @@ class CustomVideoBin(gst.Bin):
         rescale = gst.element_factory_make("videoscale", "rescale")
         self.add(rescale)
 
-        caps = gst.Caps("video/x-raw-yuv,format=(fourcc)AYUV,width=%d,height=%d" % (WIDTH, HEIGHT))
+        caps = gst.Caps("video/x-raw-yuv,format=(fourcc)AYUV,width=%d,height=%d,pixel-aspect-ratio=1/1" % (WIDTH, HEIGHT))
         capsfilter = gst.element_factory_make("capsfilter", "filter")
         capsfilter.set_property("caps", caps)
         self.add(capsfilter)