tensorflow-lite: reduce log spam

This commit is contained in:
Koushik Dutta
2022-02-14 20:14:30 -08:00
parent fa4c9b1d13
commit 6d75b4502e

View File

@@ -57,7 +57,6 @@ class PipelineValve:
def open(self):
with self.mutex:
print("open", self.name)
if self.probe != None:
self.pad.remove_probe(self.probe)
self.probe = None
@@ -67,7 +66,6 @@ class PipelineValve:
self.pad.remove_probe(self.probe)
self.probe = None
def probe(pad, info):
print("block", self.name)
return Gst.PadProbeReturn.OK
self.probe = self.pad.add_probe(Gst.PadProbeType.BLOCK | Gst.PadProbeType.BUFFER | Gst.PadProbeType.BUFFER_LIST, probe)