mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
sys/xvimage/xvimagesink.c: Use calculated video geometry from _setcaps instead of buffer caps to respect pixel aspect...
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)
This commit is contained in:
parent
4a3356cd6f
commit
9e5ce652b2
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
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:
|
||||
|
|
|
@ -613,8 +613,10 @@ gst_xvimagesink_xvimage_put (GstXvImageSink * xvimagesink,
|
|||
|
||||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue