diff options
author | jstebbins <[email protected]> | 2010-06-01 20:21:49 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2010-06-01 20:21:49 +0000 |
commit | 9728615d2d5871efb7c37cdedb9175fa1b7844d6 (patch) | |
tree | 166ddd10201b26e90e3d810562408b7983e38985 /gtk/src/hb-backend.c | |
parent | f22a86152809db1e5a44b0a24b4c865c8f9f997d (diff) |
Add SSA subtitle support
Thanks to davidfster
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3342 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r-- | gtk/src/hb-backend.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c index 6f6cf0ce2..5f28ffea2 100644 --- a/gtk/src/hb-backend.c +++ b/gtk/src/hb-backend.c @@ -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, |