[meta-freescale] [meta-fsl-arm][PATCH V3] qt4-embedded: Allow use of Qt Media Player in multi-headed system

Otavio Salvador otavio at ossystems.com.br
Sat Aug 24 10:48:07 PDT 2013


On Mon, Aug 19, 2013 at 11:13 AM, Eric Nelson
<eric.nelson at boundarydevices.com> wrote:
> Qt-embedded can be used on multiple screens by using environment variables
> QWS_DISPLAY, QWS_MOUSE_PROTO, et cetera.
>
> The gstreamer element mfw_v4lsink used to accelerate media playback on i.MX
> devices can also be pointed at different displays through the 'device'
> property, but the current acceleration patch doesn't have a mechanism for
> setting the property, and always uses the compiled-in default.
>
> This patch allows userspace startup code to override the default through
> the use of the 'v4lsinkdev' environment variable.
>
> Please refer to the Qt4-embedded documentation for proper usage of the
> QWS_x environment variables and the Freescale Multimedia documentation
> for descriptions of the various gstreamer elements.
>
> A sequence of this for a secondary display might be this:
>
>         export QWS_DISPLAY=linuxfb:/dev/fb2:1
>         export v4lsinkdev=/dev/video19
>         my-qt-app -qws
>
> Signed-off-by: Eric Nelson <eric.nelson at boundarydevices.com>

Applied to master; may you prepare same change for the X11 Qt4 recipe?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the meta-freescale mailing list