intpix_step[4];///< steps per pixel for each plane of the main output
char*original_size_str;
intoriginal_w,original_h;
FFDrawContextdraw;
}AssContext;
...
...
@@ -51,7 +50,7 @@ typedef struct {
#define OFFSET(x) offsetof(AssContext, x)
staticconstAVOptionass_options[]={
{"original_size","set the size of the original video (used to scale fonts)",OFFSET(original_size_str),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX},
{"original_size","set the size of the original video (used to scale fonts)",OFFSET(original_w),AV_OPT_TYPE_IMAGE_SIZE,{.str=NULL},CHAR_MIN,CHAR_MAX},