Name capture/encoder variable self

This commit is contained in:
dec05eba
2024-09-26 02:36:31 +02:00
parent aa2fa1e17e
commit 0b20a46e58
8 changed files with 161 additions and 159 deletions

View File

@@ -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;
}