summaryrefslogtreecommitdiff
path: root/libswscale/swscale_internal.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-18 04:46:45 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-19 23:52:37 +0200
commita1255a350d4629ca9f0073289ae8e2862aa0d9e1 (patch)
tree89fcb0bd18cee88deec687b4a5e28397550b7491 /libswscale/swscale_internal.h
parentd69332e68856323858aca244990e95266077e81f (diff)
libswscale/options: Add parent_log_context_offset to AVClass
This allows to associate log messages from slice contexts to the user-visible SwsContext. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r--libswscale/swscale_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index fbfc08a89f..0d60dd2e6f 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -301,6 +301,8 @@ typedef struct SwsContext {
*/
const AVClass *av_class;
+ struct SwsContext *parent;
+
AVSliceThread *slicethread;
struct SwsContext **slice_ctx;
int *slice_err;