[MPlayer-dev-eng] GUI fails with skin PNG read error

Ingo Brückl ib at wupperonline.de
Thu Jan 26 17:52:13 CET 2012


In mplayer-users there are reports that skin loading fails.

And indeed, after I've updated ffmpeg today, I'm experiencing the same error.

I tracked it down to Carl Eugen Hoyos' "Simplify 32bit png decoding" patch of
libavcodec/pngdec.c.

So far, the call to avcodec_decode_video2() in gui/util/bitmap.c returned
PIX_FMT_BGRA which seems to be the right one:

  $ ffprobe /usr/share/mplayer/skins/Clearlooks/main.png
  [...]
  Input #0, image2, from '/usr/share/mplayer/skins/Clearlooks/main.png':
    Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
      Stream #0:0: Video: png, bgra, 340x120, 25 tbr, 25 tbn, 25 tbc
                               ^^^^
Now it suddenly returns PIX_FMT_RGBA which isn't handled in the GUI.

Carl Eugen, what's going wrong?

Ingo


More information about the MPlayer-dev-eng mailing list