Skip to content

Commit 39c6020

Browse files
committed
disable HW decoders, too much hassle (should be configurable, though)
1 parent 11ffde7 commit 39c6020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webrtc_peer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def on_pad_added(self, wrb, pad):
236236

237237
logging.info("New incoming stream, linking to decodebin...")
238238
logging.trace("Stream caps: "+caps.to_string())
239-
decodebin = new_element("decodebin",myname="decodebin_"+self.mapping[str(ssrc)])
239+
decodebin = new_element("decodebin",{"force-sw-decoders":True},myname="decodebin_"+self.mapping[str(ssrc)])
240240
decodebin.connect("pad-added", self.on_decodebin_pad)
241241

242242
self.wrb.parent.add(decodebin)

0 commit comments

Comments
 (0)