Skip to content

Commit

Permalink
python-codecs: fix mac crash
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Mar 26, 2023
1 parent 31b424f commit ffae3f2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions plugins/python-codecs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/python-codecs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scrypted/python-codecs",
"version": "0.1.18",
"version": "0.1.19",
"description": "Python Codecs for Scrypted",
"keywords": [
"scrypted",
Expand Down
2 changes: 1 addition & 1 deletion plugins/python-codecs/src/gstreamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit ffae3f2

Please sign in to comment.