]> code.ossystems Code Review - meta-freescale.git/commit
qt4-embedded: Allow use of Qt Media Player in multi-headed system
authorEric Nelson <eric.nelson@boundarydevices.com>
Mon, 19 Aug 2013 14:13:29 +0000 (14:13 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Sat, 24 Aug 2013 17:46:18 +0000 (14:46 -0300)
commit53c2971a4a029c1ebf448ce8d3b3e74737679c5e
treec616e5317d4e03c2de69c9dc780826025ce2894d
parent24f31b006f8085ce1c55a74ad1d494946202f582
qt4-embedded: Allow use of Qt Media Player in multi-headed system

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@boundarydevices.com>
meta-fsl-arm/recipes-qt/qt4/qt4-embedded_4.8.5.bbappend
meta-fsl-arm/recipes-qt/qt4/qt4/0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch [new file with mode: 0644]