aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-10-31 19:46:06 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-10-31 19:53:11 +0900
commit946a3dec8dd123706b81bb22ff23dd757fbd0910 (patch)
treec93e5f20724c105efd1077973017ae568e310914
parentecore audio - fix hang in wayland due to pulse audio connecting to x (diff)
downloadefl-946a3dec8dd123706b81bb22ff23dd757fbd0910.tar.gz
emotion gst1 module - disable subtitles by default as that should be
there are spu apis to turn subtitles on and off and this should be off until turned on by api. you really have to be able to choose the subtitles to display - eg language etc. to use them effectively. this fixes https://phab.enlightenment.org/T4795 @fix
-rw-r--r--src/modules/emotion/gstreamer1/emotion_gstreamer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/emotion/gstreamer1/emotion_gstreamer.c b/src/modules/emotion/gstreamer1/emotion_gstreamer.c
index 3a76595e92..4bc191368a 100644
--- a/src/modules/emotion/gstreamer1/emotion_gstreamer.c
+++ b/src/modules/emotion/gstreamer1/emotion_gstreamer.c
@@ -1689,7 +1689,8 @@ _create_pipeline(Emotion_Gstreamer *ev,
g_object_set(G_OBJECT(vsink), "emotion-object", o, NULL);
g_object_get(G_OBJECT(playbin), "flags", &flags, NULL);
- g_object_set(G_OBJECT(playbin), "flags", flags | GST_PLAY_FLAG_DOWNLOAD, NULL);
+ g_object_set(G_OBJECT(playbin), "flags",
+ (flags | GST_PLAY_FLAG_DOWNLOAD) & ~GST_PLAY_FLAG_TEXT, NULL);
g_object_set(G_OBJECT(playbin), "video-sink", vsink, NULL);
g_object_set(G_OBJECT(playbin), "uri", uri, NULL);
if (suburi)