aboutsummaryrefslogtreecommitdiff
path: root/src/capture/portal.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-09-26 02:36:31 +0200
committerdec05eba <dec05eba@protonmail.com>2024-09-26 02:36:31 +0200
commit0b20a46e58d376d00b292b15826a6b0fb17fc00a (patch)
tree7b3293465fbd947d90f02f89495e8554641688ec /src/capture/portal.c
parentaa2fa1e17e1f2e6f2d31347e3f4ed2bff3806ed5 (diff)
Name capture/encoder variable self
Diffstat (limited to 'src/capture/portal.c')
-rw-r--r--src/capture/portal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/capture/portal.c b/src/capture/portal.c
index da172fb..9ab7e8b 100644
--- a/src/capture/portal.c
+++ b/src/capture/portal.c
@@ -414,9 +414,9 @@ static void gsr_capture_portal_clear_damage(gsr_capture *cap) {
static void gsr_capture_portal_destroy(gsr_capture *cap, AVCodecContext *video_codec_context) {
(void)video_codec_context;
- gsr_capture_portal *cap_portal = cap->priv;
+ gsr_capture_portal *self = cap->priv;
if(cap->priv) {
- gsr_capture_portal_stop(cap_portal);
+ gsr_capture_portal_stop(self);
free(cap->priv);
cap->priv = NULL;
}