ext/xvid/gstxvidenc.c: Set correct pixel aspect ratio for the encoder.

Original commit message from CVS:
* ext/xvid/gstxvidenc.c: (gst_xvidenc_chain):
Set correct pixel aspect ratio for the encoder.
This commit is contained in:
Wim Taymans 2008-03-12 18:44:58 +00:00
parent fe7b1e82ee
commit c6e4eec3db
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2008-03-12 Wim Taymans <wim.taymans@collabora.co.uk>
* ext/xvid/gstxvidenc.c: (gst_xvidenc_chain):
Set correct pixel aspect ratio for the encoder.
2008-03-11 Wim Taymans <wim.taymans@collabora.co.uk>
Patch by: Olivier Crete <tester at tester dot ca>

View file

@ -867,8 +867,8 @@ gst_xvidenc_chain (GstPad * pad, GstBuffer * buf)
xframe.par = XVID_PAR_11_VGA;
else {
xframe.par = XVID_PAR_EXT;
xframe.par_width = xvidenc->par_height;
xframe.par_height = xvidenc->par_width;
xframe.par_width = xvidenc->par_width;
xframe.par_height = xvidenc->par_height;
}
/* handle options */