From fc7898903f692448a45c11088f01fd9750edc239 Mon Sep 17 00:00:00 2001 From: biocrasher Date: Sat, 15 Jul 2006 02:52:30 +0000 Subject: aspect correction git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@13 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/src/init_encoder.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recordmydesktop/src/init_encoder.c b/recordmydesktop/src/init_encoder.c index 1be51c3..342b509 100644 --- a/recordmydesktop/src/init_encoder.c +++ b/recordmydesktop/src/init_encoder.c @@ -51,8 +51,8 @@ void InitEncoder(ProgData *pdata,EncData *enc_data_t){ (enc_data_t)->m_th_inf.offset_y=(((enc_data_t)->m_th_inf.height-(enc_data_t)->m_th_inf.frame_height)/2)&~1; (enc_data_t)->m_th_inf.fps_numerator=((pdata)->args.fps*100.0); (enc_data_t)->m_th_inf.fps_denominator=100; - (enc_data_t)->m_th_inf.aspect_numerator=(pdata)->brwin.rgeom.width; - (enc_data_t)->m_th_inf.aspect_denominator=(pdata)->brwin.rgeom.height; + (enc_data_t)->m_th_inf.aspect_numerator=1;//(pdata)->brwin.rgeom.width; + (enc_data_t)->m_th_inf.aspect_denominator=1;//(pdata)->brwin.rgeom.height; (enc_data_t)->m_th_inf.colorspace=OC_CS_UNSPECIFIED; (enc_data_t)->m_th_inf.pixelformat=OC_PF_420; (enc_data_t)->m_th_inf.target_bitrate=(pdata)->args.v_bitrate; @@ -66,7 +66,7 @@ void InitEncoder(ProgData *pdata,EncData *enc_data_t){ (enc_data_t)->m_th_inf.keyframe_auto_threshold=80; (enc_data_t)->m_th_inf.keyframe_mindistance=8; (enc_data_t)->m_th_inf.noise_sensitivity=1; - + (enc_data_t)->m_th_inf.sharpness=2; theora_encode_init(&(enc_data_t)->m_th_st,&(enc_data_t)->m_th_inf); -- cgit v1.2.3