fix capture_filter_wrapper error

Actually not serious as it may seem - all CF modules using the wrapper used
the same named function vo_pp_get_out_desc_done (sic!) for done callback.
But as those are internally linked, it couldn't have caused problems.
This commit is contained in:
Martin Pulec
2026-02-20 10:32:51 +01:00
parent c1b7036606
commit b95c9fded1

View File

@@ -8,7 +8,7 @@
* output buffer to decode to.
*/
/*
* Copyright (c) 2020-2025 CESNET
* Copyright (c) 2020-2026 CESNET, zájmové sdružení právnických osob
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -116,7 +116,7 @@ static void CF_WRAPPER_MERGE(vo_pp_get_out_desc_, name)(void *state, struct vide
\
UNUSED(in_tile_mode);\
}\
static void CF_WRAPPER_MERGE(vo_pp_get_out_desc_, done)(void *state) {\
static void CF_WRAPPER_MERGE(vo_pp_done_, name)(void *state) {\
struct vo_pp_capture_filter_wrapper *s = (struct vo_pp_capture_filter_wrapper *) state;\
done(s->state);\
vf_free(s->f);\
@@ -130,7 +130,7 @@ static const struct vo_postprocess_info CF_WRAPPER_MERGE(vo_pp_, name) = {\
CF_WRAPPER_MERGE(vo_pp_get_out_desc_, name),\
CF_WRAPPER_MERGE(vo_pp_get_property_, name),\
CF_WRAPPER_MERGE(vo_pp_postprocess_, name),\
CF_WRAPPER_MERGE(vo_pp_get_out_desc_, done)\
CF_WRAPPER_MERGE(vo_pp_done_, name)\
};\
REGISTER_MODULE(name, &CF_WRAPPER_MERGE(vo_pp_, name), LIBRARY_CLASS_VIDEO_POSTPROCESS, VO_PP_ABI_VERSION);