diff options
-rw-r--r-- | sub/dec_sub.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sub/dec_sub.c b/sub/dec_sub.c index aedb836235..ebf3ea35e7 100644 --- a/sub/dec_sub.c +++ b/sub/dec_sub.c @@ -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); |