Feature #173

videos played in slave mode leaves mplayer window focused after video stopped

Added by dec-ichi2-net - over 2 years ago. Updated over 2 years ago.

Status:New Start Date:
Priority:Normal Due date:
Assigned to:Adrian Stutz % Done:

0%

Category:gui_controls
Target version:undetermined

Description

Hi,

I use mplayer extended's command line binary in my open source app (http://ichi2.net/anki) to support sound and videos on OSX. I recently switched to using slave mode, but it had the unfortunate side effect of leaving mplayer focused after a video had stopped playing. Contrast the Linux and Windows versions of mplayer where when a video has finished playing, focus returns to the previous application.

I'd really appreciate it the GUI element could be torn down after a video is finished playing, or if you could recommend another way to handle this. If all else fails I could start parsing the output of mplayer and try to decipher when a file has finished playing and quit it, but that would remove the benefit of using slave mode in the first place.

History

Updated by dec-ichi2-net - over 2 years ago

(adding cc)

Also available in: Atom PDF