Commit b07a0fec authored by Thomas Dowrick's avatar Thomas Dowrick

Issue N/A: Don't try to stop tracking if it isn't running. (Get an error with...

Issue N/A: Don't try to stop tracking if it isn't running. (Get an error with the polaris if this is attempted)
parent fed37650
Pipeline #2847 passed with stages
in 14 minutes and 22 seconds
...@@ -276,7 +276,8 @@ class NDITracker: ...@@ -276,7 +276,8 @@ class NDITracker:
if not self._device: if not self._device:
raise ValueError('read srom called with no NDI device') raise ValueError('read srom called with no NDI device')
self.stop_tracking() if self._state == "tracking":
self.stop_tracking()
#free ports that are waiting to be freed #free ports that are waiting to be freed
ndicapy.ndiCommand(self._device, 'PHSR:01') ndicapy.ndiCommand(self._device, 'PHSR:01')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment