summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/modules/gstreamer/emotion_sink.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-05-16 11:18:57 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-05-16 11:18:57 +0000
commitf243db26ac7b9c02f29b43a7d06a0562b64b609a (patch)
treedc755a87a260d3b955986938689caa9da4f0df48 /legacy/emotion/src/modules/gstreamer/emotion_sink.c
parentcf46d0d3880c75365567db055c7f521b42657c2f (diff)
fix video overlay suport in emotion.
SVN revision: 71161
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/modules/gstreamer/emotion_sink.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/legacy/emotion/src/modules/gstreamer/emotion_sink.c b/legacy/emotion/src/modules/gstreamer/emotion_sink.c
index 5f1d26fcee..85739bd360 100644
--- a/legacy/emotion/src/modules/gstreamer/emotion_sink.c
+++ b/legacy/emotion/src/modules/gstreamer/emotion_sink.c
@@ -1033,9 +1033,20 @@ gstreamer_video_sink_new(Emotion_Gstreamer_Video *ev,
1033#if defined HAVE_ECORE_X && defined HAVE_XOVERLAY_H 1033#if defined HAVE_ECORE_X && defined HAVE_XOVERLAY_H
1034 if (window_manager_video) 1034 if (window_manager_video)
1035 { 1035 {
1036 engines = evas_render_method_list(); 1036 Eina_List *l;
1037 const char *ename;
1038
1039 engines = evas_render_method_list();
1037 1040
1038 engine = eina_list_nth(engines, evas_output_method_get(evas_object_evas_get(obj)) - 1); 1041 EINA_LIST_FOREACH(engines, l, ename)
1042 {
1043 if (evas_render_method_lookup(ename) ==
1044 evas_output_method_get(evas_object_evas_get(obj)))
1045 {
1046 engine = ename;
1047 break;
1048 }
1049 }
1039 1050
1040 if (ev->priority && engine && strstr(engine, "_x11") != NULL) 1051 if (ev->priority && engine && strstr(engine, "_x11") != NULL)
1041 { 1052 {