X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fmodules%2Fgstreamer%2Femotion_gstreamer.c;h=38abf57dd2ffcc4fbd33955c48a56637e3c98158;hb=ef854ee822f79c37301d800ccf1e48df3f61ff53;hp=9d6b213563657025e2e51c42114f56d8a0b9d586;hpb=a300e9c1ab4b9337510aff0e65aa427d2ef9aa5c;p=profile%2Fivi%2Femotion.git diff --git a/src/modules/gstreamer/emotion_gstreamer.c b/src/modules/gstreamer/emotion_gstreamer.c index 9d6b213..38abf57 100644 --- a/src/modules/gstreamer/emotion_gstreamer.c +++ b/src/modules/gstreamer/emotion_gstreamer.c @@ -621,16 +621,15 @@ em_pos_set(void *video, double pos) { Emotion_Gstreamer_Video *ev; - gboolean res; ev = (Emotion_Gstreamer_Video *)video; if (!ev->pipeline) return ; if (ev->play) - res = gst_element_set_state(ev->pipeline, GST_STATE_PAUSED); + gst_element_set_state(ev->pipeline, GST_STATE_PAUSED); - res = gst_element_seek(ev->pipeline, 1.0, + gst_element_seek(ev->pipeline, 1.0, GST_FORMAT_TIME, GST_SEEK_FLAG_ACCURATE | GST_SEEK_FLAG_FLUSH, GST_SEEK_TYPE_SET, @@ -638,7 +637,7 @@ em_pos_set(void *video, GST_SEEK_TYPE_NONE, -1); if (ev->play) - res = gst_element_set_state(ev->pipeline, GST_STATE_PLAYING); + gst_element_set_state(ev->pipeline, GST_STATE_PLAYING); } static double