frontends (tools/webrtc): fix SINKS_APP condition check.
This commit is contained in:
parent
221c73b947
commit
6b26dcedfa
1 changed files with 1 additions and 1 deletions
|
|
@ -630,7 +630,7 @@ class WebRTC:
|
||||||
remote_video_sink.set_property("sync", True)
|
remote_video_sink.set_property("sync", True)
|
||||||
remote_video_sink.connect("new-sample", self.appsink_data.remote_video_cb)
|
remote_video_sink.connect("new-sample", self.appsink_data.remote_video_cb)
|
||||||
self.pipeline.add(remote_video_sink)
|
self.pipeline.add(remote_video_sink)
|
||||||
if self.sinks == SINKS_AUTO:
|
elif self.sinks == SINKS_AUTO:
|
||||||
compositor = self.pipeline.get_by_name("compositor")
|
compositor = self.pipeline.get_by_name("compositor")
|
||||||
|
|
||||||
sink1_pad = compositor.get_static_pad("sink_1")
|
sink1_pad = compositor.get_static_pad("sink_1")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue