def test_video_decode_gpu_does_not_work(self):
        """A proper error is raised when trying to decode a video with GPU acceleration enabled on a CPU-only machine."""
        valid_url = "https://marqo-k400-video-test-dataset.s3.amazonaws.com/videos/--_S9IDQPLg_000135_000145.mp4"
        start_time = 0
        duration = 1
        enable_video_gpu_acceleration = True

        streaming_media_processor_object = StreamingMediaProcessor(
            url=valid_url, preprocessors=self.test_preprocessor,
            preprocessing_config=self.test_video_preprocessing_config,
            enable_video_gpu_acceleration=enable_video_gpu_acceleration
        )

        with self.assertRaises(MediaDownloadError) as e:
            streaming_media_processor_object.fetch_video_chunk(start_time, duration, self.output_file)
        self.assertFalse(os.path.exists(self.output_file))
A proper error is raised when trying to decode a video with GPU acceleration enabled on a CPU-only machine.
tests/integ_tests/inference/native_inference/media_download_and_preprocess/test_streaming_media_preprcessor.py