[MPlayer-dev-eng] [RFC] swscaler: Don't try to use bgr8torgbnn
Carl Eugen Hoyos
cehoyos at ag.or.at
Tue Apr 3 03:59:14 CEST 2007
On 2007-04-03 01:17, Michael Niedermayer wrote:
> > I tried to convert the first frame of
> > http://samples.mplayerhq.hu/V-codecs/8BPS-PlanarRGB/full9ironswing.mov
> > into pnm (or png or jpeg) using this command:
> > mplayer full9ironswing.mov -frames 1 -vo pnm
> > mplayer crashes with a "swScaler: internal error" message because no
> > scalers for bgr8 are defined.
> > Attached patch is a naive try to fix the crash and allow the conversion,
> > please comment, Carl Eugen
> i think the check is insufficient there are further formats not supported
> by rgb2rgbWrapper which would pass this ...
I tried to add all cases from isRGB and isBGR that are not supported.
Thank you, Carl Eugen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the MPlayer-dev-eng