diff --git a/legacy/emotion/ChangeLog b/legacy/emotion/ChangeLog index 9cc78bb163..36a608d761 100644 --- a/legacy/emotion/ChangeLog +++ b/legacy/emotion/ChangeLog @@ -54,3 +54,7 @@ 2012-09-06 Sohyun Kim * Add capsfilter to limit format and size for fimc on device. + +2012-10-11 Sohyun Kim + + * Fix to call correct render function based on the format. diff --git a/legacy/emotion/NEWS b/legacy/emotion/NEWS index 2a1358bbb2..5ea5054dae 100644 --- a/legacy/emotion/NEWS +++ b/legacy/emotion/NEWS @@ -18,6 +18,7 @@ Fixes: - fix priority set/get for gstreamer. - reset VLC pipeline on EOS. - fix race condition on shutdown when still saving a file position. + - fix to call correct render function. Improvements: diff --git a/legacy/emotion/src/modules/gstreamer/emotion_sink.c b/legacy/emotion/src/modules/gstreamer/emotion_sink.c index 433d8dca50..17a1bc56cd 100644 --- a/legacy/emotion/src/modules/gstreamer/emotion_sink.c +++ b/legacy/emotion/src/modules/gstreamer/emotion_sink.c @@ -962,13 +962,19 @@ _video_update_pixels(void *data, Evas_Object *obj __UNUSED__, const Evas_Video_S { Emotion_Gstreamer_Video *ev = data; Emotion_Gstreamer_Buffer *send; + EvasVideoSinkPrivate *priv = NULL; if (!ev->send) return ; send = ev->send; + priv = send->sink; send->force = EINA_TRUE; ev->send = NULL; - evas_video_sink_main_render(send); + + if (priv->samsung) + evas_video_sink_samsung_main_render(send); + else + evas_video_sink_main_render(send); } static void