> the SSA and USF subtitle decoder do what you want. You could have a look at > it. > The trick is to define the following callbacks: > > subpicture_t->pf_pre_render > subpicture_t->pf_update_regions Thanks, this sounds like just what I need.