summaryrefslogtreecommitdiffstats
path: root/ext/xvid
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2008-03-12 18:44:58 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-03-12 18:44:58 +0000
commitc6e4eec3dbd9342f0f6ac88771d341d25e9f8dfd (patch)
tree906c34c61cac8f11770832e3505452962919d7f2 /ext/xvid
parentfe7b1e82ee5fb0a99cdd2249a0e9513afa45bf88 (diff)
downloadgst-plugins-bad-c6e4eec3dbd9342f0f6ac88771d341d25e9f8dfd.tar.gz
gst-plugins-bad-c6e4eec3dbd9342f0f6ac88771d341d25e9f8dfd.tar.bz2
gst-plugins-bad-c6e4eec3dbd9342f0f6ac88771d341d25e9f8dfd.zip
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.
Diffstat (limited to 'ext/xvid')
-rw-r--r--ext/xvid/gstxvidenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/xvid/gstxvidenc.c b/ext/xvid/gstxvidenc.c
index 306bac33..ea6d3aed 100644
--- a/ext/xvid/gstxvidenc.c
+++ b/ext/xvid/gstxvidenc.c
@@ -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 */