diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2010-01-09 13:05:32 +0000 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2010-01-09 16:29:29 +0000 |
commit | 104e542f70bd9e6cb753e97b4fcdbacf0114bc89 (patch) | |
tree | 9c216e536e809a6a7f58888e060089297164cf57 | |
parent | 1d03806007912ba59ffd74e5b914a24585991453 (diff) | |
download | clutter-gst-104e542f70bd9e6cb753e97b4fcdbacf0114bc89.tar.gz |
[VideoTexture] Default to a bigger, Sans Serif font for subtitles
GStreamer's default subtitle font is a small serif font. For a better
readability, let's default to Sans 16.
-rw-r--r-- | clutter-gst/clutter-gst-video-texture.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/clutter-gst/clutter-gst-video-texture.c b/clutter-gst/clutter-gst-video-texture.c index 54bbf83..5654b64 100644 --- a/clutter-gst/clutter-gst-video-texture.c +++ b/clutter-gst/clutter-gst-video-texture.c @@ -763,9 +763,10 @@ lay_pipeline (ClutterGstVideoTexture *video_texture) video_sink = clutter_gst_video_sink_new (CLUTTER_TEXTURE (video_texture)); g_object_set (G_OBJECT (video_sink), "qos", TRUE, "sync", TRUE, NULL); g_object_set (G_OBJECT (priv->pipeline), - "video-sink", video_sink, - "audio-sink", audio_sink, - NULL); + "video-sink", video_sink, + "audio-sink", audio_sink, + "subtitle-font-desc", "Sans 16", + NULL); return TRUE; } |