Skip to content

Commit

Permalink
V2 Cinema Mode- Hotfix stability
Browse files Browse the repository at this point in the history
  • Loading branch information
fnyaker committed Jul 13, 2023
1 parent db904fb commit 0240bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capture.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def play_pipewire_stream(node_id):
fd_object = portal.OpenPipeWireRemote(session, empty_dict,
dbus_interface=screen_cast_iface)
fd = fd_object.take()
pipeline_string = 'pipewiresrc fd=%d path=%u ! videoconvert ! appsink'
pipeline_string = 'pipewiresrc fd=%d path=%u ! videoconvert ! xvimagesink'

# Create a VideoCapture object with GStreamer pipeline
cap = cv2.VideoCapture(pipeline_string % (fd, node_id), cv2.CAP_GSTREAMER)
Expand Down

0 comments on commit 0240bce

Please sign in to comment.