Commit graph

9 commits

Author SHA1 Message Date
Lutz Mueller
f270259cc8 pnm: Support ASCII format for encoding and handle unsupported formats better in the decoder
Fixes bug #595215.
2009-09-16 08:23:37 +02:00
Sebastian Dröge
5b5ff07c28 pnm: Use correct rowstride for 8 bit grayscale too 2009-09-13 19:39:59 +02:00
Sebastian Dröge
f09b1adf70 pnm: Correctly convert from/to GStreamer rowstride 2009-09-13 19:33:57 +02:00
Sebastian Dröge
751843ff86 pnm: Fix caps
8 bit grayscale caps have no endianness field and the caps name
of GST_VIDEO_CAPS_RGB is still "video/x-raw-rgb" and not GST_VIDEO_CAPS_RGB.
2009-09-13 19:17:15 +02:00
Lutz Mueller
7f3e6f4965 pnm: Lots of bugfixes
(1) Fix examples.
(2) Add support for gray images.
(3) Remove "use_fixed_caps" which doesn't seem to be useful.
(4) Do proper negotiation in the encoder.
(5) Fix memleak in the setcaps function in the encoder.
(6) Keep a link to the src pad in the encoder now that we need it more often.

Partially fixes bug #164870.
2009-09-13 19:14:49 +02:00
Sebastian Dröge
58a5e422b6 pnmdec: Partially fix negotiation issues and refcount leaks 2009-09-10 08:53:46 +02:00
Sebastian Dröge
cfb04acde5 pnmenc: Fix negotiation issues and refcount leaks 2009-09-10 08:48:12 +02:00
Sebastian Dröge
77e989f498 pnm: Fix typefinder caps 2009-09-10 08:29:06 +02:00
Lutz Mueller
59b6d933da pnm: Add PNM encoder and decoder elements
Fixes bug #164870.
2009-09-10 08:23:22 +02:00