From afb3bdb983bfa7a33cff6cd2031a5cfc3dd6a310 Mon Sep 17 00:00:00 2001 From: David Colburn Date: Tue, 30 Jan 2024 12:17:24 -0800 Subject: [PATCH] missed some --- pkg/pipeline/builder/video.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/pipeline/builder/video.go b/pkg/pipeline/builder/video.go index 4159865d..12379313 100644 --- a/pkg/pipeline/builder/video.go +++ b/pkg/pipeline/builder/video.go @@ -194,7 +194,7 @@ func (b *VideoBin) buildWebInput() error { return errors.ErrGstPipelineError(err) } - videoQueue, err := gstreamer.BuildQueue("video_input_queue", b.conf.Latency, true) + videoQueue, err := gstreamer.BuildQueue("video_input_queue", config.Latency, true) if err != nil { return err } @@ -499,7 +499,7 @@ func (b *VideoBin) addSelector() error { } func (b *VideoBin) addEncoder() error { - videoQueue, err := gstreamer.BuildQueue("video_encoder_queue", b.conf.Latency, false) + videoQueue, err := gstreamer.BuildQueue("video_encoder_queue", config.Latency, false) if err != nil { return err }