raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=163affda37c23f200f6c838c0bf4ab5168595708

commit 163affda37c23f200f6c838c0bf4ab5168595708
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Mon Oct 31 19:46:06 2016 +0900

    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 T4795
    
    @fix
---
 src/modules/emotion/gstreamer1/emotion_gstreamer.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/modules/emotion/gstreamer1/emotion_gstreamer.c 
b/src/modules/emotion/gstreamer1/emotion_gstreamer.c
index b11b4f9..bb528d4 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)

-- 


Reply via email to