python-codecs: fix mac crash

This commit is contained in:
Koushik Dutta
2023-03-25 21:52:51 -07:00
parent 31b424f89f
commit ffae3f246f
3 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ async def generateVideoFramesGstreamer(mediaObject: scrypted_sdk.MediaObject, op
else:
raise Exception('unknown container %s' % container)
elif videosrc.startswith('rtsp'):
videosrc = 'rtspsrc buffer-mode=0 location=%s protocols=tcp latency=0 is-live=false' % videosrc
videosrc = 'rtspsrc buffer-mode=0 location=%s protocols=tcp latency=0' % videosrc
if videoCodec == 'h264':
videosrc += ' ! rtph264depay ! h264parse'