tycat.c: In function ‘handle_edje’:
tycat.c:180:40: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
(o, rp, "e/desktop/background") == EINA_TRUE)
Summary:
Precise multimedia size/type/aspect ratio could be acquired after first frame has been decoded.
Therefore,
Fixes T1376
1. put every file in the queue, and handle them one by one
2. in case of video, block queue handling until "frame_decode" callback is invoked.
3. to avoid infinite blocking, put timer for timeout check
Test Plan:
1.terminology -> tycat "video file" -> check whether the video size is fit to real video size
2. -> tycat "audio file" -> check whether black area is shown or not
Reviewers: billiob, raster
Subscribers: seoz
Maniphest Tasks: T1376
Differential Revision: https://phab.enlightenment.org/D1192
Sometimes, emotion_object_video_handled_get() will return NULL. In that case, the video will be stretched to the terminal's width but only 3 lines high. Use A/R information for better scaling.
Also support videos and fix aspect ratio.
Patch by jpeg.
on insert. this allows multiple insertions to be "active
simultaneously". until all the inset chars are used up. need to wrap
these insert chars with begin/end escapes still for efficiency and so
you can use insert chars elsewhere in the same text output area.
also clean up warnings.
SVN revision: 83394