summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */