summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbiocrasher <biocrasher@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2006-07-15 02:52:30 +0000
committerbiocrasher <biocrasher@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2006-07-15 02:52:30 +0000
commitfc7898903f692448a45c11088f01fd9750edc239 (patch)
treeeed4f620bf47842b0b51dbebbe20baa3048263c5
parent4aceea4a471c33120d21e914ad579c95178ce8bf (diff)
aspect correction
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@13 f606c939-3180-4ac9-a4b8-4b8779d57d0a
-rw-r--r--recordmydesktop/src/init_encoder.c6
1 files 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);
© All Rights Reserved