View Single Post
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#108
I've spent the last week and a half studying all-things-mediaplayer as much as I've been hacking. I have a bunch of stuff working, but I'm about to tear it all apart again. I've been spending a good deal of time moving magic numbers out to JSON config files and to GtkBuilder UI files. Because of the simplicity of media rendering concepts, I hope I can avoid using binary plugins of my own. MAFW is holding up for the time being.

I got to a point where I wanted to start playing videos, and from staring at the code I came across a cooler thing on top of the already cool thing I mentioned earlier. If you tap the little 120x100 video window, it goes fullscreen by creating a new window! Tap on the new fullscreen window and it disappears. And that reminded me of a movie quote.

Forrest Gump: Lieutenant Dan got me invested in some kind of fruit company. So then I got a call from him, saying we don't have to worry about money video no more. And I said, that's good! One less thing.

Also, I discovered one of those "why didn't I think of that" optimization techniques mafw-test-gui is using:

Turn Off Double-Buffering

Just another lesson learned. More as I know, but so much to do.
__________________
N9: Go white or go home