summaryrefslogtreecommitdiffstats
path: root/gtk/src/preview.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-06-26 23:13:20 +0000
committerjstebbins <[email protected]>2009-06-26 23:13:20 +0000
commit4ac9a883b86e9d83a15a23f32090a2339ac1606a (patch)
tree0b9bb61a1267252151df95a82344e96b0eb7fb1e /gtk/src/preview.c
parent3ca835f3fa1e680424211e1c2bc7dd1aecafe392 (diff)
LinGui: subtitle previews
- Increase the font size of subtitles in the preview. the default is microscopic. - reset the status of live preview encodings whenever a subtitle setting is changed. forces re-encoding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2632 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/preview.c')
-rw-r--r--gtk/src/preview.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/src/preview.c b/gtk/src/preview.c
index c6a379058..7b975e8ce 100644
--- a/gtk/src/preview.c
+++ b/gtk/src/preview.c
@@ -171,6 +171,8 @@ ghb_preview_init(signal_user_data_t *ud)
}
g_object_set(G_OBJECT(ud->preview->play), "video-sink", xover, NULL);
+ g_object_set(ud->preview->play, "subtitle-font-desc",
+ "sans bold 20", NULL);
//g_object_set(G_OBJECT(xover), "force-aspect-ratio", TRUE, NULL);
bus = gst_pipeline_get_bus(GST_PIPELINE(ud->preview->play));