You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
New cross platform exception handler for libopenshot! Logs basic stacktrace on segmentation fault. This will be a huge help in finding bugs and crashes.
This commit is contained in:
@@ -277,7 +277,7 @@ void FFmpegReader::UpdateAudioInfo()
|
||||
info.acodec = aCodecCtx->codec->name;
|
||||
info.channels = aCodecCtx->channels;
|
||||
if (aCodecCtx->channel_layout == 0)
|
||||
aCodecCtx->channel_layout = av_get_default_channel_layout( aCodecCtx->channels );;
|
||||
aCodecCtx->channel_layout = av_get_default_channel_layout( aCodecCtx->channels );
|
||||
info.channel_layout = (ChannelLayout) aCodecCtx->channel_layout;
|
||||
info.sample_rate = aCodecCtx->sample_rate;
|
||||
info.audio_bit_rate = aCodecCtx->bit_rate;
|
||||
|
||||
Reference in New Issue
Block a user