diff --git a/frigate/test/test_gstreamer.py b/frigate/test/test_gstreamer.py index bd35d8838..6039cb897 100644 --- a/frigate/test/test_gstreamer.py +++ b/frigate/test/test_gstreamer.py @@ -196,6 +196,7 @@ class TestGstreamerBuilder(TestCase): "rtspsrc", 'location="rtsp://"', "latency=0", + "do-timestamp=true", "!", "a", "!", @@ -228,6 +229,7 @@ class TestGstreamerBuilder(TestCase): "rtspsrc", 'location="rtsp://"', "latency=0", + "do-timestamp=true", "!", "rtph264depay", "!", @@ -253,6 +255,7 @@ class TestGstreamerBuilder(TestCase): "rtspsrc", 'location="rtsp://"', "latency=0", + "do-timestamp=true", "!", "rtph264depay", "!", @@ -293,6 +296,7 @@ class TestGstreamerBuilder(TestCase): "rtspsrc", 'location="rtsp://"', "latency=0", + "do-timestamp=true", "!", "rtph264depay", "!", @@ -300,6 +304,10 @@ class TestGstreamerBuilder(TestCase): "!", "omxh264dec", "!", + "videoconvert", + "!", + "videoscale", + "!", "queue", "!", "omxh264enc", @@ -353,7 +361,9 @@ class TestGstreamerBuilder(TestCase): @mock.patch("frigate.gstreamer.autodetect_decoder_pipeline") def test_custom_source(self, mock_autodetect_pipeline): - self.builder = GstreamerBuilder("videotestsrc is-live=true pattern=snow", 320, 240, "cam_name") + self.builder = GstreamerBuilder( + "videotestsrc is-live=true pattern=snow", 320, 240, "cam_name" + ) builder = self.builder.with_decoder_pipeline(["a"], caps=None) builder = builder.with_source_format_pipeline(["d"]) assert builder.build(use_detect=True, use_record=False) == [