diff options
author | wm4 <wm4@nowhere> | 2020-05-15 16:19:02 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-05-15 16:37:41 +0200 |
commit | c4d0d7a194bee56b4cc4b0b7fec4a81261decd01 (patch) | |
tree | aa46022f10e350f2ebe244155aa8ebb084c47fc7 /sub/dec_sub.c | |
parent | 810b37fc3f538b33d73546c76e9b4c86e7b906a5 (diff) | |
download | mpv-c4d0d7a194bee56b4cc4b0b7fec4a81261decd01.tar.bz2 mpv-c4d0d7a194bee56b4cc4b0b7fec4a81261decd01.tar.xz |
sub: fix incorrect commit
Commit c6369933f1d9cd accidentally added an old version of this comment.
Diffstat (limited to 'sub/dec_sub.c')
-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); |