double zoomx = 1.0f;
//double zoomy = 1.0f;
//縮小
-
- if(data->common->fontsize_fix){
- zoomx = (0.5f * (double)video_width) / (double)NICO_WIDTH;
- //zoomy = (0.5f * (double)video_height) / (double)NICO_HEIGHT;
- }
+
+ if (data->common->fontsize_fix) {
+ const double width = (data->common->aspect_mode != 1) ? NICO_WIDTH : NICO_HD_WIDTH;
+ zoomx = (0.5f * (double) video_width) / width;
+ //zoomy = (0.5f * (double)video_height) / (double)NICO_HEIGHT;
+ }
/*スケールの調整*/
//if(((double)ret->h * zoomy) > ((double)video_height/3.0f)){
//定義
#define NICO_WIDTH 512
#define NICO_HEIGHT 384
+// 16:9 動画用定義
+#define NICO_HD_WIDTH 640
+#define NICO_HD_HEIGHT NICO_HEIGHT
#define VPOS_FACTOR 100 //多分係数の意味では・・・やはり1/100で記録してるっぽい