Commit graph

15 commits

Author SHA1 Message Date
David Schleef
159e2768d6 Fix pad template memleaks
Pad templates returned by gst_static_pad_template_get() were not
being unreffed.
2010-11-30 18:54:46 -08:00
Benjamin Otte
147e0682b4 pnmdec: Don't crash if no valid input was parsed yet
https://bugzilla.redhat.com/show_bug.cgi?id=603771
2010-06-16 10:31:19 +02:00
Tristan Matthews
552cd26b43 osx: more compiler warning fixes
Avoid new warnings.

Fixes #613758.
2010-03-24 00:19:02 +00:00
Benjamin Otte
b7655bbd2e Add -Wredundant-decls flag
and fix warnings from it
2010-03-22 12:05:59 +01:00
Tim-Philipp Müller
b2ce6fe6d5 pnm: make element details a bit more descriptive 2010-01-22 02:25:44 +00:00
Tim-Philipp Müller
4de86d4d12 pnm: add copyright notice 2010-01-22 02:25:44 +00:00
Lutz Mueller
a744f8136b pnm: Handle ASCII encoded PNM data that is split over multiple buffers
Also:
- unref buffers after gst_buffer_span
- fix scanning of header if header data is split over several buffers

Fixes bug #595700.
2009-09-22 08:13:08 +02:00
Lutz Mueller
a4e438d193 pnm: Add ASCII decoding support
...and make the ASCII output of the encoder a bit more pretty.

Fixes bug #595409.
2009-09-17 09:39:10 +02:00
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
Lutz Mueller
59b6d933da pnm: Add PNM encoder and decoder elements
Fixes bug #164870.
2009-09-10 08:23:22 +02:00