summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/modules/gstreamer/emotion_sink.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/modules/gstreamer/emotion_sink.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/legacy/emotion/src/modules/gstreamer/emotion_sink.c b/legacy/emotion/src/modules/gstreamer/emotion_sink.c
index 572185ba58..54c3a66c3c 100644
--- a/legacy/emotion/src/modules/gstreamer/emotion_sink.c
+++ b/legacy/emotion/src/modules/gstreamer/emotion_sink.c
@@ -508,11 +508,8 @@ static void evas_video_sink_render_handler(void *data,
508 vstream->height = priv->height; 508 vstream->height = priv->height;
509 ev->ratio = (double) priv->width / (double) priv->height; 509 ev->ratio = (double) priv->width / (double) priv->height;
510 510
511 if (vstream) 511 _emotion_video_pos_update(ev->obj, ev->position, vstream->length_time);
512 { 512 _emotion_frame_resize(ev->obj, priv->width, priv->height, ev->ratio);
513 _emotion_video_pos_update(ev->obj, ev->position, vstream->length_time);
514 _emotion_frame_resize(ev->obj, vstream->width, vstream->height, ev->ratio);
515 }
516 513
517 exit_point: 514 exit_point:
518 gst_buffer_unref(buffer); 515 gst_buffer_unref(buffer);