Mercurial > mplayer.hg
view debian/mplayer-gui.mime @ 34635:7e0f50b4921c
Fix vo_png after FFmpeg merge.
Now avcodec_open2() function wants a valid avctx->pix_fmt to be set,
but the current vo_png opens the encoder in preinit() function,
long before the exact pixel format is know.
The fix moves the avcodec_open2() function to vo_png::config() and
adds a check for changed pixel format in case there are more config() calls.
author | iive |
---|---|
date | Tue, 14 Feb 2012 17:06:09 +0000 |
parents | c9f9a077d760 |
children | 6c750d212873 |
line wrap: on
line source
application/x-ogg; /usr/bin/gmplayer %s; description="OggVorbis Audio" application/ogg; /usr/bin/gmplayer %s; description="OggVorbis Audio" audio/mpeg; /usr/bin/gmplayer %s; description="MPEG Audio Format" audio/x-mpegurl; /usr/bin/gmplayer %s; description="Icecast Playlists" audio/x-ms-wax; /usr/bin/gmplayer %s; description="Audio Format" audio/x-ms-wma; /usr/bin/gmplayer %s; description="Audio Format" audio/x-pls; /usr/bin/gmplayer %s; description="MP3 ShoutCast/IceCast Playlist" audio/x-scpls; /usr/bin/gmplayer %s; description="Shoutcast Playlists" audio/x-wav; /usr/bin/gmplayer %s; description="Waveform Microsoft Wave/RIFF" video/mpeg; /usr/bin/gmplayer %s; description="MPEG Video Format"; test=test -n "$DISPLAY" video/quicktime; /usr/bin/gmplayer %s; description="Apple Quicktime Video"; test=test -n "$DISPLAY" video/x-mpeg2; /usr/bin/gmplayer %s; description="MPEG Video"; test=test -n "$DISPLAY" video/x-mpeg; /usr/bin/gmplayer %s; description="MPEG 2 Video"; test=test -n "$DISPLAY" video/mpeg; /usr/bin/gmplayer %s; description="MPEG 2 Video"; test=test -n "$DISPLAY" video/x-ms-afs; /usr/bin/gmplayer %s; description="Audio Video Interleave - Microsoft"; test=test -n "$DISPLAY" video/x-ms-asf; /usr/bin/gmplayer %s; description="MS ASF video"; test=test -n "$DISPLAY" video/x-msvideo; /usr/bin/gmplayer %s; description="Audio Video Interleave - Microsoft"; test=test -n "$DISPLAY" video/x-ms-wma; /usr/bin/gmplayer %s; description="Audio Video Interleave - Microsoft"; test=test -n "$DISPLAY" video/x-ms-wmv; /usr/bin/gmplayer %s; description="Audio Video Interleave - Microsoft"; test=test -n "$DISPLAY" video/x-ms-wmx; /usr/bin/gmplayer %s; description="Audio Video Interleave - Microsoft"; test=test -n "$DISPLAY" video/x-ms-wvx; /usr/bin/gmplayer %s; description="Audio Video Interleave - Microsoft"; test=test -n "$DISPLAY"