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

Function ghb_mix_opts_set

gtk/src/hb-backend.c:1999–2023  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1997}
1998
1999void
2000ghb_mix_opts_set(GtkComboBox *combo)
2001{
2002 GtkTreeIter iter;
2003 GtkListStore *store;
2004 gchar *str;
2005
2006 store = GTK_LIST_STORE(gtk_combo_box_get_model (combo));
2007 gtk_list_store_clear(store);
2008
2009 const hb_mixdown_t *mix;
2010 for (mix = hb_mixdown_get_next(NULL); mix != NULL;
2011 mix = hb_mixdown_get_next(mix))
2012 {
2013 gtk_list_store_append(store, &iter);
2014 str = g_strdup_printf("<small>%s</small>", mix->name);
2015 gtk_list_store_set(store, &iter,
2016 0, str,
2017 1, TRUE,
2018 2, mix->short_name,
2019 3, (gdouble)mix->amixdown,
2020 -1);
2021 g_free(str);
2022 }
2023}
2024
2025const hb_mixdown_t*
2026ghb_lookup_mixdown(const char *name)

Callers 2

mix_opts_setFunction · 0.85

Calls 1

hb_mixdown_get_nextFunction · 0.85

Tested by

no test coverage detected