jifmux: Make it more colorspace smart
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Tue, 7 Sep 2010 17:45:12 +0000 (14:45 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Tue, 7 Sep 2010 17:45:12 +0000 (14:45 -0300)
commit69151f6850c6020af94340f8ea87612066a43536
tree796bc15bd7b0b73fd99daed5464de530d8877f36
parent4cdcba665c9dc58b08bc45f55ba7dcdc64a49b45
jifmux: Make it more colorspace smart

This makes it able to recombine rgb images, making it possible
to add tags to rgb jpegs as well.

Uses a simple strategy to check what are the possible colorspaces
and avoid adding jfif to ones that aren't YUV/Gray.
gst/jpegformat/gstjifmux.c