Disko Forum logo Login  |  Register  |  Lost Password
Re:Start external directfb player

nathan
Posts: 2
graphgraph

Start external directfb player 4 Years, 8 Months ago  
Hi!

I would like to know if and how it is possible to start and external video/movie player which also needs access to directfb?

Because I do not have access to the source code of this player, I am forced to start it externally. But this player needs
exclusive access to directfb.

The procedure I would like to follow is:
1) release disko directfb
2) fork and start the external player
3) when it returns, re-initialize disko directfb
4) display the disko window as I had left it before starting the external player.

Is this possible?

Kind regards,
Nathan.
 
  The administrator has disabled public write access.
Re:Start external directfb player

Stefan
Posts: 91
graph

Re:Start external directfb player 4 Years, 8 Months ago  
Hi nathan,

basically it would work. There ist a global pointer called mmsfb (From type MMSF. It is initializeb by mmsinit(). Via this pointer you can get the MMSFBLayer you want to release. Unfortunately the releaseLayer() method is missing the code for the DirectFB backend. But you can add this easily, if you want, because MMSFBLayer holds the corresponding IDirectFBDisplayLayer pointer. We should fix this this as well in one of the upcoming releases.

have fun
Stefan
 
  The administrator has disabled public write access.
Re:Start external directfb player

nathan
Posts: 2
graphgraph

Re:Start external directfb player 4 Years, 8 Months ago  
Thanks for the quick feedback.

I'll try your suggestion.

Nathan.
 
  The administrator has disabled public write access.
Powered by FireBoard
get the latest posts directly to your desktop