Skip to content
Snippets Groups Projects
Commit ece25908 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

[herfik] keep aspect ratio when resizing video window. Fixes #6852

parent 666334a4
No related branches found
No related tags found
No related merge requests found
......@@ -386,10 +386,12 @@ class JingleVideo(JingleRTPContent):
#src_bin.link(caps)
self.sink = self.make_bin_from_config('video_output_device',
'videoscale ! ffmpegcolorspace ! %s', _("video output"))
'videoscale ! ffmpegcolorspace ! %s force-aspect-ratio=True',
_("video output"))
self.pipeline.add(self.sink)
self.src_bin.get_pad('src').link(self.p2psession.get_property('sink-pad'))
self.src_bin.get_pad('src').link(self.p2psession.get_property(
'sink-pad'))
self.p2pstream.connect('src-pad-added', self._on_src_pad_added)
# The following is needed for farsight to process ICE requests:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment