From 3f362230220af7b97b92d0331725a458f5dfda33 Mon Sep 17 00:00:00 2001 From: David Colburn Date: Wed, 3 Jul 2024 15:39:33 -0700 Subject: [PATCH] don't include framerate in video track bin caps --- pkg/pipeline/builder/video.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/pipeline/builder/video.go b/pkg/pipeline/builder/video.go index 3a730b67..3adb6ff7 100644 --- a/pkg/pipeline/builder/video.go +++ b/pkg/pipeline/builder/video.go @@ -672,7 +672,7 @@ func (b *VideoBin) addVideoConverter(bin *gstreamer.Bin) error { elements = append(elements, videoRate) } - caps, err := b.newVideoCapsFilter(true) + caps, err := b.newVideoCapsFilter(!b.conf.VideoDecoding) if err != nil { return errors.ErrGstPipelineError(err) }