Mercurial > libervia-backend
diff libervia/frontends/tools/webrtc.py @ 4146:60d107f2178a
frontends (tools/webrtc): fix `SINKS_APP` condition check.
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 03 Nov 2023 15:32:17 +0100 |
parents | 970b6209526a |
children | 879bad48cc2d |
line wrap: on
line diff
--- a/libervia/frontends/tools/webrtc.py Thu Nov 02 12:11:21 2023 +0100 +++ b/libervia/frontends/tools/webrtc.py Fri Nov 03 15:32:17 2023 +0100 @@ -630,7 +630,7 @@ remote_video_sink.set_property("sync", True) remote_video_sink.connect("new-sample", self.appsink_data.remote_video_cb) self.pipeline.add(remote_video_sink) - if self.sinks == SINKS_AUTO: + elif self.sinks == SINKS_AUTO: compositor = self.pipeline.get_by_name("compositor") sink1_pad = compositor.get_static_pad("sink_1")