Skip to content

Commit

Permalink
flake8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Isopod00 committed Nov 8, 2024
1 parent bfd8e31 commit fe57953
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gstreamer/gstreamer/server_gstreamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def init_h265(self, input, sink):
# format=(string)NV12, framerate=(fraction)30/1' ! nvvideoconvert ! nvv4l2h265enc
# ! rtph265pay ! udpsink host=127.0.0.1 port=5000
nvv4l2h265enc = Gst.ElementFactory.make("nvv4l2h265enc", "nvv4l2h265enc")
#nvv4l2h265enc.set_property("bitrate", 1000000)
# nvv4l2h265enc.set_property("bitrate", 1000000) # Uncomment to set a bitrate limit
self.pipeline.add(nvv4l2h265enc)
input.link(nvv4l2h265enc)

Expand All @@ -79,7 +79,7 @@ def init_av1(self, input, sink):
# gst-launch-1.0 videotestsrc ! 'video/x-raw, width=(int)640, height=(int)480, format=(string)NV12,
# framerate=(fraction)30/1' ! nvvideoconvert ! nvv4l2av1enc ! udpsink host=127.0.0.1 port=5000
nvv4l2av1enc = Gst.ElementFactory.make("nvv4l2av1enc", "nvv4l2av1enc")
#nvv4l2av1enc.set_property("bitrate", 1000000)
# nvv4l2av1enc.set_property("bitrate", 1000000) # Uncomment to set a bitrate limit
self.pipeline.add(nvv4l2av1enc)
input.link(nvv4l2av1enc)

Expand Down

0 comments on commit fe57953

Please sign in to comment.