MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / hb_audio_encoder_get_name

Function hb_audio_encoder_get_name

libhb/common.c:3300–3316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3298}
3299
3300const char* hb_audio_encoder_get_name(int encoder)
3301{
3302 if (!(encoder & HB_ACODEC_ANY))
3303 goto fail;
3304
3305 const hb_encoder_t *audio_encoder = NULL;
3306 while ((audio_encoder = hb_audio_encoder_get_next(audio_encoder)) != NULL)
3307 {
3308 if (audio_encoder->codec == encoder)
3309 {
3310 return audio_encoder->name;
3311 }
3312 }
3313
3314fail:
3315 return NULL;
3316}
3317
3318const char* hb_audio_encoder_get_short_name(int encoder)
3319{

Callers 3

hb_job_to_dictFunction · 0.85
hb_display_job_infoFunction · 0.85

Calls 1

Tested by

no test coverage detected