mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-21 14:50:06 +02:00
remove special case for flac, flac has smalllast frame cap set
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Benjamin Drung <bdrung@debian.org>
This commit is contained in:
parent
259e9361da
commit
813f8450ea
@ -636,7 +636,6 @@ bool ExportFFmpeg::Finalize()
|
|||||||
// Or if frame_size is 1, then it's some kind of PCM codec, they don't have frames and will be fine with the samples
|
// Or if frame_size is 1, then it's some kind of PCM codec, they don't have frames and will be fine with the samples
|
||||||
// Or if user configured the exporter to pad with silence, then we'll send audio + silence as a frame.
|
// Or if user configured the exporter to pad with silence, then we'll send audio + silence as a frame.
|
||||||
if ((codec->capabilities & CODEC_CAP_SMALL_LAST_FRAME)
|
if ((codec->capabilities & CODEC_CAP_SMALL_LAST_FRAME)
|
||||||
|| codec->id == CODEC_ID_FLAC
|
|
||||||
|| mEncAudioCodecCtx->frame_size <= 1
|
|| mEncAudioCodecCtx->frame_size <= 1
|
||||||
|| gPrefs->Read(wxT("/FileFormats/OverrideSmallLastFrame"), true)
|
|| gPrefs->Read(wxT("/FileFormats/OverrideSmallLastFrame"), true)
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user