summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/modules/gstreamer/emotion_sink.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2011-10-14 04:01:43 +0000
committerCedric BAIL <cedric.bail@free.fr>2011-10-14 04:01:43 +0000
commit534acda075493359cc3d036528611936bac93760 (patch)
treee420b3f8a5955504fed5d42cc574d73d79980b6f /legacy/emotion/src/modules/gstreamer/emotion_sink.c
parent2d4cd8058afb5e8f78cada6654f5722316e80455 (diff)
emotion: work with older version of gstreamer.
SVN revision: 64058
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/modules/gstreamer/emotion_sink.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/legacy/emotion/src/modules/gstreamer/emotion_sink.c b/legacy/emotion/src/modules/gstreamer/emotion_sink.c
index ede6dcbbf7..70d2605cfe 100644
--- a/legacy/emotion/src/modules/gstreamer/emotion_sink.c
+++ b/legacy/emotion/src/modules/gstreamer/emotion_sink.c
@@ -1214,7 +1214,11 @@ gstreamer_video_sink_new(Emotion_Gstreamer_Video *ev,
1214 { 1214 {
1215 unsigned int pos[2]; 1215 unsigned int pos[2];
1216 1216
1217#ifdef HAVE_X_OVERLAY_SET
1217 gst_x_overlay_set_window_handle(GST_X_OVERLAY(xvsink), win); 1218 gst_x_overlay_set_window_handle(GST_X_OVERLAY(xvsink), win);
1219#else
1220 gst_x_overlay_set_xwindow_id(GST_X_OVERLAY(xvsink), win);
1221#endif
1218 ev->win = win; 1222 ev->win = win;
1219 1223
1220 ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_VIDEO_PARENT, &parent, 1); 1224 ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_VIDEO_PARENT, &parent, 1);