   *   job_set_video_bitrate_from_file_size
   *
   ***************************************************************************/
-@@ -1514,6 +1626,27 @@
+@@ -1514,6 +1630,27 @@
      }
    }
  

 };
diff -ru thoggen/src/th-main.c thoggen-with-kate/src/th-main.c
--- thoggen/src/th-main.c	2008-06-16 17:24:30.000000000 +0100
+++ thoggen-with-kate/src/th-main.c	2008-06-16 19:08:10.000000000 +0100
@@ -77,6 +77,8 @@
 	 { "videobox", "videobox", TH_GST_PLUGINS_GOOD },
 	 { "videorate", "videorate", TH_GST_PLUGINS_BASE },

+	} else {
+	  gtk_widget_show (jcd->priv->spu_lang_all);
+	}
+
+	/* no need to show the spu languages list if there are no SPU tracks at all */
+        if (job->subpicture_streams->len == 0) {
+	  gtk_widget_hide (jcd->priv->spu_lang_combobox);
