diff --git a/subprojects/gst-python/examples/plugins/python/py_audiotestsrc.py b/subprojects/gst-python/examples/plugins/python/py_audiotestsrc.py index 08e12694bb..5e5ef3bfd9 100644 --- a/subprojects/gst-python/examples/plugins/python/py_audiotestsrc.py +++ b/subprojects/gst-python/examples/plugins/python/py_audiotestsrc.py @@ -174,7 +174,7 @@ class AudioTestSrc(GstBase.BaseSrc): array[:] = 0 except Exception as e: Gst.error("Mapping error: %s" % e) - return Gst.FlowReturn.ERROR + return (Gst.FlowReturn.ERROR, None) buf.offset = self.next_sample buf.offset_end = next_sample