Hi there,
As an alternative to returning doubles as number of frames, one could keep a running target number of frames in HTS_Label_load_from_fp and functions alike. On the principle, this is similar to the use of duration_remain in HTS_SStreamSet_create.
That way we're sure we don't break any API. I used successfully something similar with version 0.9 of the engine.
Regards,
Geoffrey