Skip to content

Commit

Permalink
Fix Bug on export with new Shotcut v23.05.07 #1442
Browse files Browse the repository at this point in the history
  • Loading branch information
bmatherly committed May 12, 2023
1 parent 7cffaad commit 77be3ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/framework/mlt_frame.c
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,7 @@ int mlt_frame_get_audio(mlt_frame self,
*samples = *samples <= 0 ? 1920 : *samples;
*channels = *channels <= 0 ? 2 : *channels;
*frequency = *frequency <= 0 ? 48000 : *frequency;
*format = *format == mlt_audio_none ? mlt_audio_s16 : *format;
mlt_properties_set_int(properties, "audio_frequency", *frequency);
mlt_properties_set_int(properties, "audio_channels", *channels);
mlt_properties_set_int(properties, "audio_samples", *samples);
Expand Down

0 comments on commit 77be3ee

Please sign in to comment.