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

Function hb_video_encoder_is_supported

libhb/common.c:1923–1934  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1921}
1922
1923int hb_video_encoder_is_supported(int encoder)
1924{
1925 const hb_encoder_t *video_encoder = NULL;
1926 while ((video_encoder = hb_video_encoder_get_next(video_encoder)) != NULL)
1927 {
1928 if (video_encoder->codec == encoder)
1929 {
1930 return 1;
1931 }
1932 }
1933 return 0;
1934}
1935
1936int hb_video_encoder_get_count_of_analysis_passes(int encoder)
1937{

Callers 2

preset_cleanFunction · 0.85
ghb_presets_menu_initFunction · 0.85

Calls 1

Tested by

no test coverage detected