summaryrefslogtreecommitdiffstats
path: root/video/out/dr_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/dr_helper.h')
-rw-r--r--video/out/dr_helper.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/dr_helper.h b/video/out/dr_helper.h
index a86121cd3e..cf2ed14855 100644
--- a/video/out/dr_helper.h
+++ b/video/out/dr_helper.h
@@ -18,9 +18,9 @@ struct dr_helper *dr_helper_create(struct mp_dispatch_queue *dispatch,
int stride_align, int flags),
void *get_image_ctx);
-// Make DR release calls (freeing images) reentrant if they are called on this
-// (mp_thread_self()) thread. That means any free call will directly release the
-// image as allocated with get_image().
+// Make DR release calls (freeing images) reentrant if they are called on current
+// thread. That means any free call will directly release the image as allocated
+// with get_image().
// Only 1 thread can use this at a time. Note that it would make no sense to
// call this on more than 1 thread, as get_image is assumed not thread-safe.
void dr_helper_acquire_thread(struct dr_helper *dr);