From c6e4eec3dbd9342f0f6ac88771d341d25e9f8dfd Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 12 Mar 2008 18:44:58 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ ext/xvid/gstxvidenc.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d065acd929..037a1162cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-03-12 Wim Taymans + + * ext/xvid/gstxvidenc.c: (gst_xvidenc_chain): + Set correct pixel aspect ratio for the encoder. + 2008-03-11 Wim Taymans Patch by: Olivier Crete diff --git a/ext/xvid/gstxvidenc.c b/ext/xvid/gstxvidenc.c index 306bac3351..ea6d3aed90 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 */