AnsweredAssumed Answered

how to set non-fullscreen mode when playing video with gplay?

Question asked by Gavin Guo on Dec 7, 2016
Latest reply on Dec 13, 2016 by jimmychan

platform info:
imx6dl sabresd board
BSP L3.0.35-4.1.0
gstreamer-0.10.3.1 + gst-fsl-plugins-3.0.7.2

i get gplay source code(mfw_gplay.c) from gst-fsl-plugins package, i modify it and to play video.

gplay default display mode is fullscreen, and i want to set new position and size, i use gst-core-lib function resize() to set it and it works good.

the problem is, resize() operation must after play(), so we see fullscreen video firstly then see non-fullscreen video!

i want to know how to call play() with non-fullscreen?

 

也就是说我想直接播放的时候就是非全屏的。现在的情况是,先全屏播放再快速切换到非全屏,看起来有个明显的改变过程。因为play的时候已经是全屏,再resize的时候就看到屏幕一闪,体验非常不好。

Outcomes