View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#14
Originally Posted by gionni88 View Post
Awesome!

Just a question: is your player working when started from menu? Because I have tried to play with QML video element, but it works only when started from QtCreator, than it gives me setup_buffers: couldn't allocate buffer: not-linked.

Thanks for your effort.
You need to request permission to use video playback. To do this, you add a <application_name>.aegis file to the debian_harmattan folder (same location as control file etc). Here's the content of my openvideoplayer.aegis file:

Code:
<aegis>
<request>
<credential name="GRP::video" />
<credential name="GRP::pulse-access" />
<credential name="mce::TKLockControl" />
<credential name="TrackerReadAccess" />
<credential name="TrackerWriteAccess" />
<for path="/opt/openvideoplayer/bin/openvideoplayer" />
</request>
</aegis>
The GRP::video and GRP:ulse-access tokens are required for video playback, and the mce::TKLockControl token is required for the screensaver delay using QtMobility.systemInfo 1.1. The tracker tokens are required for using DocumentGallery.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub

Last edited by marxian; 2011-10-31 at 14:29.
 

The Following User Says Thank You to marxian For This Useful Post: