diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2006-07-17 10:22:54 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2006-07-17 10:22:54 +0000 |
commit | cc350794fbe9e138188457e0214c861ffe607d33 (patch) | |
tree | 9616ef1c77e27f236ac4fe619a7242fe8e0b2156 /ext/libpng/gstpngdec.h | |
parent | f6a274239a935b7e0ff70a227a7b61ae7e287077 (diff) |
ext/libpng/gstpngdec.*: Use statically allocated segment instead of leaking.
Original commit message from CVS:
* ext/libpng/gstpngdec.c: (gst_pngdec_init), (buffer_clip),
(gst_pngdec_caps_create_and_set), (gst_pngdec_task),
(gst_pngdec_chain), (gst_pngdec_sink_event),
(gst_pngdec_libpng_init), (gst_pngdec_change_state),
(gst_pngdec_sink_activate_push):
* ext/libpng/gstpngdec.h:
Use statically allocated segment instead of leaking.
Various cleanups.
Fix flush and seek handling.
Diffstat (limited to 'ext/libpng/gstpngdec.h')
-rw-r--r-- | ext/libpng/gstpngdec.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/libpng/gstpngdec.h b/ext/libpng/gstpngdec.h index 5b11d5e5..f7c4675a 100644 --- a/ext/libpng/gstpngdec.h +++ b/ext/libpng/gstpngdec.h @@ -67,7 +67,8 @@ struct _GstPngDec gboolean framed; GstClockTime in_timestamp; GstClockTime in_duration; - GstSegment *segment; + + GstSegment segment; }; struct _GstPngDecClass |