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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

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

Labels (3)
Tags (1)
0 Kudos
1 Reply

437 Views
jimmychan
NXP TechSupport
NXP TechSupport

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

0 Kudos