diff options
author | jstebbins <[email protected]> | 2014-02-22 20:34:57 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2014-02-22 20:34:57 +0000 |
commit | b29ad15acd51f7fc869f7bac9d77d7540e143740 (patch) | |
tree | da7845fb1f5c3223523851c172c72c80af24798d /gtk/src/settings.c | |
parent | 257b3cc03cb5dc4cf1c2006dd14282cd2ff904d5 (diff) |
LinGui: improvements to queue window
Add x264 preset/tune/profile/level. LinGui has been missing this.
Reformat audio and subtitle list.
Don't show "Turbo" when not encoding 2 pass ABR.
Don't show "Filters" line if there are no filters.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6061 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/settings.c')
-rw-r--r-- | gtk/src/settings.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/src/settings.c b/gtk/src/settings.c index 6094a0454..198fded6a 100644 --- a/gtk/src/settings.c +++ b/gtk/src/settings.c @@ -143,6 +143,14 @@ ghb_settings_get_double(const GValue *settings, const gchar *key) return ghb_value_double(value); } +const gchar* +ghb_settings_get_const_string(const GValue *settings, const gchar *key) +{ + const GValue* value; + value = ghb_settings_get_value(settings, key); + return g_value_get_string(value); +} + gchar* ghb_settings_get_string(const GValue *settings, const gchar *key) { |