Un-hardcode the 200ms minimum latency between emitting subtitle events
so that those that wish to receive a subtitle event for every screen
change could do so.
The problem with delaying realtime output by any amount is that it is
unknown when the next byte pair that would trigger output will happen.
It may be within 200ms, or it may be several seconds later -- that's
not realtime at all.
{"real_time","emit subtitle events as they are decoded for real-time display",OFFSET(real_time),AV_OPT_TYPE_BOOL,{.i64=0},0,1,SD},
{"real_time_latency_msec","minimum elapsed time between emitting real-time subtitle events",OFFSET(real_time_latency_msec),AV_OPT_TYPE_INT,{.i64=200},0,500,SD},
{"data_field","select data field",OFFSET(data_field),AV_OPT_TYPE_INT,{.i64=-1},-1,1,SD,"data_field"},
{"auto","pick first one that appears",0,AV_OPT_TYPE_CONST,{.i64=-1},0,0,SD,"data_field"},