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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

641 次查看
Gavin
Contributor I

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的时候就看到屏幕一闪,体验非常不好。

标签 (3)
标记 (1)
0 项奖励
1 回复

455 次查看
jimmychan
NXP TechSupport
NXP TechSupport

you can modify the setting in fsl_player_init() in mfw_gplay_core.c

0 项奖励