diff options
author | jstebbins <[email protected]> | 2008-08-03 19:47:34 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2008-08-03 19:47:34 +0000 |
commit | a8d3a1b8d246f409ef1dde98d2313226aa2ad14c (patch) | |
tree | c8908c9f92d65c3de45c8167d882fa1f349d3eb2 /gtk/src/main.c | |
parent | cf1e77da0ba81ada883fbf4e07d9dc7466110a04 (diff) |
LinGui: clean up hb status handling. mostly just moving things around.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1602 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/main.c')
-rw-r--r-- | gtk/src/main.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c index d9352a185..0d5ffadd4 100644 --- a/gtk/src/main.c +++ b/gtk/src/main.c @@ -429,13 +429,11 @@ typedef struct gchar *iconname; } icon_map_t; -gboolean ghb_autostart; static gchar *dvd_device = NULL; static gchar *arg_preset = NULL; static GOptionEntry entries[] = { - { "autostart", 'a', 0, G_OPTION_ARG_NONE, &ghb_autostart, "Automatically scan and start encoding", NULL }, { "device", 'd', 0, G_OPTION_ARG_FILENAME, &dvd_device, "The device or file to encode", NULL }, { "preset", 'p', 0, G_OPTION_ARG_STRING, &arg_preset, "The preset values to use for encoding", NULL }, { NULL } @@ -500,7 +498,6 @@ main (int argc, char *argv[]) gtk_icon_theme_append_search_path (theme, "./icons"); ud = g_malloc(sizeof(signal_user_data_t)); - ud->state = GHB_STATE_START; ud->debug = FALSE; g_log_set_handler (NULL, G_LOG_LEVEL_DEBUG, debug_log_handler, ud); ud->settings = ghb_settings_new(); @@ -568,10 +565,6 @@ main (int argc, char *argv[]) // Source overridden from command line option ghb_settings_set_string(ud->settings, "source", dvd_device); } - if (ghb_autostart) - { - ghb_hbfd(ud, TRUE); - } // Start timer for monitoring libhb status, 500ms g_timeout_add (500, ghb_timer_cb, (gpointer)ud); // Everything should be go-to-go. Lets rock! |