sub: fix incorrect commit

Commit c6369933f1 accidentally added an old version of this comment.
This commit is contained in:
wm4 2020-05-15 16:19:02 +02:00
parent 810b37fc3f
commit c4d0d7a194
1 changed files with 1 additions and 3 deletions

View File

@ -348,9 +348,7 @@ struct sub_bitmaps *sub_get_bitmaps(struct dec_sub *sub, struct mp_osd_res dim,
return res;
}
// This can only be called by the main thread, due to the returned text pointing
// to a buffer bound to the sub object. The main thread is the designated
// "outside" owner of the buffer.
// The returned string is talloc'ed.
char *sub_get_text(struct dec_sub *sub, double pts, enum sd_text_type type)
{
pthread_mutex_lock(&sub->lock);