Commit 1669a01e authored by Mark Kretschmann's avatar Mark Kretschmann Committed by Vedant Agarwala
Browse files

When transcoding to Vorbis, never generate video stream.

When an image is embedded in the track, FFmpeg generates a video
stream. This breaks playback on some devices.

BUG: 324875
parent 8350b067
......@@ -99,8 +99,8 @@ VorbisFormat::ffmpegParameters( const Configuration &configuration ) const
if( property.name() == "quality" )
{
int ffmpegQuality = configuration.property( "quality" ).toInt() - 1;
parameters << "-aq"
<< QString::number( ffmpegQuality );
parameters << "-aq" << QString::number( ffmpegQuality );
parameters << "-vn"; // -vn == no video stream (some devices can't handle that)
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment