summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudioTrackPreset.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBAudioTrackPreset.m')
-rw-r--r--macosx/HBAudioTrackPreset.m5
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;
}