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

Eric Nelson eric.nelson at boundarydevices.com
Sat Aug 24 13:08:22 PDT 2013


On 08/24/2013 10:48 AM, Otavio Salvador wrote:
> 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?
>

Yep. Done.

I hadn't noticed that the Phonon patches were in two places, so
I also created an include file to make any updates easier.




More information about the meta-freescale mailing list