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

Function hb_container_get_name

libhb/common.c:3635–3651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3633}
3634
3635const char* hb_container_get_name(int format)
3636{
3637 if (!(format & HB_MUX_MASK))
3638 goto fail;
3639
3640 const hb_container_t *container = NULL;
3641 while ((container = hb_container_get_next(container)) != NULL)
3642 {
3643 if (container->format == format)
3644 {
3645 return container->name;
3646 }
3647 }
3648
3649fail:
3650 return NULL;
3651}
3652
3653const char* hb_container_get_short_name(int format)
3654{

Callers 2

hb_preset_apply_videoFunction · 0.85

Calls 1

hb_container_get_nextFunction · 0.85

Tested by

no test coverage detected