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

Function hb_audio_encoder_get_long_name

libhb/common.c:3336–3352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3334}
3335
3336const char* hb_audio_encoder_get_long_name(int encoder)
3337{
3338 if (!(encoder & HB_ACODEC_ANY))
3339 goto fail;
3340
3341 const hb_encoder_t *audio_encoder = NULL;
3342 while ((audio_encoder = hb_audio_encoder_get_next(audio_encoder)) != NULL)
3343 {
3344 if (audio_encoder->codec == encoder)
3345 {
3346 return audio_encoder->long_name;
3347 }
3348 }
3349
3350fail:
3351 return NULL;
3352}
3353
3354const char* hb_audio_encoder_sanitize_name(const char *name)
3355{

Callers 1

hb_display_job_infoFunction · 0.85

Calls 1

Tested by

no test coverage detected