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

Function ghb_check_name_template

gtk/src/callbacks.c:725–737  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

723}
724
725gboolean
726ghb_check_name_template (signal_user_data_t *ud, const char *str)
727{
728 if (ghb_dict_get_bool(ud->prefs, "auto_name"))
729 {
730 const gchar *template;
731
732 template = ghb_dict_get_string(ud->prefs, "auto_name_template");
733 if (strstr(template, str) != NULL)
734 return TRUE;
735 }
736 return FALSE;
737}
738
739typedef struct {
740 const char *pattern;

Callers 6

ghb_set_scale_settingsFunction · 0.85
vcodec_changed_cbFunction · 0.85
vquality_type_changed_cbFunction · 0.85
vbitrate_changed_cbFunction · 0.85
vquality_changed_cbFunction · 0.85
set_has_chapter_markersFunction · 0.85

Calls 2

ghb_dict_get_boolFunction · 0.85
ghb_dict_get_stringFunction · 0.85

Tested by

no test coverage detected