Commit a3f14bd7 authored by Sébastien Bacher's avatar Sébastien Bacher Committed by Sébastien Bacher

gallery, don't use command line options that got removed from the helper

parent 862e3fbb
Pipeline #37095 passed with stages
in 11 minutes and 18 seconds
......@@ -171,14 +171,11 @@ dialog_response_callback (GtkDialog *dialog, gint response_id, TotemGallery *sel
/* Build the command and arguments to pass it */
argv[0] = (gchar*) LIBEXECDIR "/totem-gallery-thumbnailer"; /* a little hacky, but only the allocated stuff is freed below */
argv[1] = (gchar*) "-j"; /* JPEG mode */
argv[2] = (gchar*) "-l"; /* don't limit resources */
argv[3] = (gchar*) "-p"; /* print progress */
argv[4] = g_strdup_printf ("--gallery=%u", screenshot_count); /* number of screenshots to output */
argv[5] = g_strdup_printf ("--size=%u", gtk_spin_button_get_value_as_int (self->priv->screenshot_width)); /* screenshot width */
argv[6] = video_mrl; /* video to thumbnail */
argv[7] = filename; /* output filename */
argv[8] = NULL;
argv[1] = g_strdup_printf ("--gallery=%u", screenshot_count); /* number of screenshots to output */
argv[2] = g_strdup_printf ("--size=%u", gtk_spin_button_get_value_as_int (self->priv->screenshot_width)); /* screenshot width */
argv[3] = video_mrl; /* video to thumbnail */
argv[4] = filename; /* output filename */
argv[5] = NULL;
/* Run the command */
ret = g_spawn_async_with_pipes (NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment