summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--ChangeLog5
-rw-r--r--ext/xvid/gstxvidenc.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d065acd9..037a1162 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
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 */