qt: Deinterlace can be associated with codec arguments
commitf36c1480d3b16707e5996bf1795f83e8e30d79b3
authorJérôme Froissart <software@froissart.eu>
Mon, 28 Oct 2019 21:15:49 +0000 (28 22:15 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 30 Oct 2019 23:53:37 +0000 (31 00:53 +0100)
tree3c41b0315596043745bbdc622061fd87e7e38d19
parentbc8853ad79ff20dd56921b49a642d1009e084ef7
qt: Deinterlace can be associated with codec arguments

Previously, one could not convert a video into a video with both:
 * deinterlace checked (in the Convert dialog)
 * custom options (in "Profile edition" dialog, "Video codec" tab)
This was due to incorrectly handled braces in a SoutChain.

This makes VLCProfileSelector::getTranscode() return a SoutChain instead
of a plain QString, which eases the handling of the sout chain.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt/components/sout/profile_selector.cpp
modules/gui/qt/components/sout/profile_selector.hpp
modules/gui/qt/dialogs/convert.cpp
modules/gui/qt/dialogs/sout.cpp