From c4d0d7a194bee56b4cc4b0b7fec4a81261decd01 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 15 May 2020 16:19:02 +0200 Subject: sub: fix incorrect commit Commit c6369933f1d9cd accidentally added an old version of this comment. --- sub/dec_sub.c | 4 +--- 1 file changed, 1 insertion(+), 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); -- cgit v1.2.3