OSDN Git Service

WinGui:
[handbrake-jp/handbrake-jp-git.git] / gtk / src / hb-backend.c
index 6f6cf0c..8f1ac95 100644 (file)
@@ -1155,17 +1155,24 @@ ghb_subtitle_source_name(gint source)
        switch (source)
        {
                case VOBSUB:
-                       name = "Bitmap";
+                       name = "VOBSUB";
                        break;
                case TX3GSUB:
+                       name = "TX3G";
+                       break;
                case UTF8SUB:
+                       name = "UTF8";
+                       break;
                case CC708SUB:
                case CC608SUB:
-                       name = "Text";
+                       name = "CC";
                        break;
                case SRTSUB:
                        name = "SRT";
                        break;
+               case SSASUB:
+                       name = "SSA";
+                       break;
                default:
                        break;
        }
@@ -1976,11 +1983,13 @@ subtitle_track_opts_set(GtkBuilder *builder, const gchar *name, gint titleindex)
                        subtitle = (hb_subtitle_t *)hb_list_item(title->list_subtitle, ii);
                        // Skip subtitles that must be burned if there is already
                        // a burned subtitle in the list
+#if 0
                        if (subtitle->source == VOBSUB)
                        {
                                options[ii] = g_strdup_printf("%d - %s", ii+1, subtitle->lang);
                        }
                        else
+#endif
                        {
                                options[ii] = g_strdup_printf("%d - %s (%s)", ii+1, 
                                        subtitle->lang, 
@@ -2445,7 +2454,7 @@ small_opts_set(GtkBuilder *builder, const gchar *name, combo_opts_t *opts)
        gint ii;
        gchar *str;
        
-       g_debug("generic_opts_set ()\n");
+       g_debug("small_opts_set ()\n");
        if (name == NULL || opts == NULL) return;
        store = get_combo_box_store(builder, name);
        gtk_list_store_clear(store);