Skip to content
Snippets Groups Projects
Commit 2de830a5 authored by François Cartegnie's avatar François Cartegnie :fingers_crossed:
Browse files

Qt: escape demuxdump filename (refs #19841)

parent 22fed962
No related branches found
No related tags found
No related merge requests found
......@@ -178,10 +178,13 @@ void ConvertDialog::close()
for(int i = 0; i < incomingMRLs->length(); i++)
{
QString mrl;
QString newFileName;
if( dumpRadio->isChecked() )
{
mrl = "demux=dump :demuxdump-file=" + fileLine->text();
newFileName = fileLine->text();
newFileName.replace( QChar('\''), "\\\'" );
mrl = QString( "demux=dump :demuxdump-file='%1'" ).arg( newFileName );
}
else
{
......@@ -197,8 +200,6 @@ void ConvertDialog::close()
mrl += "duplicate{dst=display,dst=";
}
QString newFileName;
// Only one file, use the destination provided
if(singleFileSelected)
{
......
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