diff options
author | Damiano Galassi <[email protected]> | 2017-06-12 17:11:15 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2017-06-12 17:11:15 +0200 |
commit | c72396f91d2b9535f3873d8dd5dc8b7ea1b4c28e (patch) | |
tree | 9655ae337c9776ce3dfbf007d973f78ae613ca25 /macosx/HBAudioTrackPreset.m | |
parent | 46be9b0ac3d4b87269ba6b0732e5034778c2bb1d (diff) |
MacGui: add none fallback.
Diffstat (limited to 'macosx/HBAudioTrackPreset.m')
-rw-r--r-- | macosx/HBAudioTrackPreset.m | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/macosx/HBAudioTrackPreset.m b/macosx/HBAudioTrackPreset.m index 3175cefa3..9fa77e877 100644 --- a/macosx/HBAudioTrackPreset.m +++ b/macosx/HBAudioTrackPreset.m @@ -283,7 +283,10 @@ audio_encoder != NULL; audio_encoder = hb_audio_encoder_get_next(audio_encoder)) { - [encoders addObject:@(audio_encoder->name)]; + if (audio_encoder->codec != HB_ACODEC_NONE) + { + [encoders addObject:@(audio_encoder->name)]; + } } return encoders; } |