diff options
author | jstebbins <[email protected]> | 2012-03-31 15:29:19 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2012-03-31 15:29:19 +0000 |
commit | 413d57e1534169d26c72fe7b15a6e0ff2d314d97 (patch) | |
tree | 4272acf604035d4f568887a6337c31995f51e263 | |
parent | a1ea19d988a461fc449d3bcc8c224ccdb4e3ff16 (diff) |
LinGui: fix queue display problem with "same as source (constant)" framerate
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4566 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | gtk/src/queuehandler.c | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c index 405e96a3c..978b1ec2b 100644 --- a/gtk/src/queuehandler.c +++ b/gtk/src/queuehandler.c @@ -272,17 +272,27 @@ add_to_queue_list(signal_user_data_t *ud, GValue *settings, GtkTreeIter *piter) if (strcmp("source", fps) == 0) { g_free(fps); - if (ghb_settings_combo_int(settings, "PictureDetelecine")) - fps = g_strdup("Same As Source (vfr detelecine)"); + if (ghb_settings_get_boolean(settings, "VideoFramerateCFR")) + fps = g_strdup("Same As Source (constant)"); else fps = g_strdup("Same As Source (variable)"); } else { - gchar *tmp; - tmp = g_strdup_printf("%s (constant frame rate)", fps); - g_free(fps); - fps = tmp; + if (ghb_settings_get_boolean(settings, "VideoFrameratePFR")) + { + gchar *tmp; + tmp = g_strdup_printf("Peak %s (may be lower)", fps); + g_free(fps); + fps = tmp; + } + else + { + gchar *tmp; + tmp = g_strdup_printf("%s (constant frame rate)", fps); + g_free(fps); + fps = tmp; + } } source_width = ghb_settings_get_int(settings, "source_width"); source_height = ghb_settings_get_int(settings, "source_height"); |