Original commit message from CVS:
2005-11-28 Julien MOUTTE <julien@moutte.net>
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put):
Use calculated video geometry from _setcaps instead of buffer
caps to respect pixel aspect ratio. (fixes #322388)
2005-11-28 Julien MOUTTE <julien@moutte.net>
+ * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put):
+ Use calculated video geometry from _setcaps instead of buffer
+ caps to respect pixel aspect ratio. (fixes #322388)
+
+2005-11-28 Julien MOUTTE <julien@moutte.net>
+
* docs/libs/tmpl/gstcolorbalance.sgml:
* docs/libs/tmpl/gstmixer.sgml:
* docs/libs/tmpl/gstxoverlay.sgml:
gst_xvimagesink_xwindow_update_geometry (xvimagesink, xvimagesink->xwindow);
- src.w = xvimage->width;
- src.h = xvimage->height;
+ /* We use the calculated geometry from _setcaps as a source to respect
+ source and screen pixel aspect ratios. */
+ src.w = GST_VIDEO_SINK_WIDTH (xvimagesink);
+ src.h = GST_VIDEO_SINK_HEIGHT (xvimagesink);
dst.w = xvimagesink->xwindow->width;
dst.h = xvimagesink->xwindow->height;