mirror of
https://github.com/koush/scrypted.git
synced 2026-07-09 08:30:39 +01:00
tensorflow-lite: reduce log spam
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user