samples: Fix subtitles demo after API changes.