forked from enlightenment/efl
set ratio after filling the video sink
Patch by João Paulo Rechi Vita SVN revision: 43433
This commit is contained in:
parent
bd0541a0b0
commit
915bcee60e
|
@ -501,6 +501,8 @@ emotion_streams_sinks_get(Emotion_Gstreamer_Video *ev, GstElement *decoder)
|
|||
vlist = eina_list_next(vlist);
|
||||
|
||||
emotion_video_sink_fill(vsink, pad, caps);
|
||||
ev->ratio = (double)vsink->width / (double)vsink->height;
|
||||
|
||||
}
|
||||
/* audio stream */
|
||||
else if (g_str_has_prefix(str, "audio/"))
|
||||
|
|
Loading…
Reference in New Issue