summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/modules/gstreamer/emotion_gstreamer_pipeline.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/modules/gstreamer/emotion_gstreamer_pipeline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/emotion/src/modules/gstreamer/emotion_gstreamer_pipeline.c b/legacy/emotion/src/modules/gstreamer/emotion_gstreamer_pipeline.c
index 4d3632aafd..6513b91c20 100644
--- a/legacy/emotion/src/modules/gstreamer/emotion_gstreamer_pipeline.c
+++ b/legacy/emotion/src/modules/gstreamer/emotion_gstreamer_pipeline.c
@@ -501,6 +501,8 @@ emotion_streams_sinks_get(Emotion_Gstreamer_Video *ev, GstElement *decoder)
501 vlist = eina_list_next(vlist); 501 vlist = eina_list_next(vlist);
502 502
503 emotion_video_sink_fill(vsink, pad, caps); 503 emotion_video_sink_fill(vsink, pad, caps);
504 ev->ratio = (double)vsink->width / (double)vsink->height;
505
504 } 506 }
505 /* audio stream */ 507 /* audio stream */
506 else if (g_str_has_prefix(str, "audio/")) 508 else if (g_str_has_prefix(str, "audio/"))