View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#1135
Originally Posted by jessi3k3 View Post
marxian, awesome work on cutetube!

Using the latest 1.4.4 version on my n900, i noticed that when I select mplayer as my renderer, multiple mplayer instances open when trying to watch a video. I tested other renderers (such as kmplayer which is a frontend for mplayer) and it only seems to happen with mplayer.

edit: interesting, upon restarting it no longer does this. I did just reproduce it by switching from 'media player' to 'mplayer' without restarting the program.
It seems that the video launcher method is called twice (when using an external media player). It won't be noticeable with kmplayer or the stock media player, because these are called via dbus, so the existing instance is called again to play the video. mplayer is called using QProcess (it doesn't have a dbus service), so a second instance will be created if the method is called twice.
__________________
'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