summaryrefslogtreecommitdiffstats
path: root/ext/libpng/gstpngdec.h
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-04-11 09:35:45 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-04-11 09:35:45 +0000
commit6dccffbfd0dfd0b67260dd3d1b33cc130f1246fb (patch)
tree7c0b4e91e3ebac3f83552de8a76173682d729cb3 /ext/libpng/gstpngdec.h
parent4ebda6356b3d0d5391410ac5d593dca7d8a4885b (diff)
ext/libpng/gstpngdec.*: Handle more than one frame if the content is framed, like with png-in-quicktime (#331917).
Original commit message from CVS: * ext/libpng/gstpngdec.c: (gst_pngdec_init), (user_endrow_callback), (user_end_callback), (gst_pngdec_caps_create_and_set), (gst_pngdec_chain), (gst_pngdec_sink_setcaps), (gst_pngdec_sink_event), (gst_pngdec_libpng_clear), (gst_pngdec_change_state): * ext/libpng/gstpngdec.h: Handle more than one frame if the content is framed, like with png-in-quicktime (#331917).
Diffstat (limited to 'ext/libpng/gstpngdec.h')
-rw-r--r--ext/libpng/gstpngdec.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/libpng/gstpngdec.h b/ext/libpng/gstpngdec.h
index 9930b83a..94fc80f1 100644
--- a/ext/libpng/gstpngdec.h
+++ b/ext/libpng/gstpngdec.h
@@ -41,6 +41,8 @@ struct _GstPngDec
GstPad *sinkpad, *srcpad;
+ gboolean need_newsegment;
+
/* Progressive */
GstBuffer *buffer_out;
GstFlowReturn ret;
@@ -60,6 +62,11 @@ struct _GstPngDec
gint color_type;
gint fps_n;
gint fps_d;
+
+ /* Chain */
+ gboolean framed;
+ GstClockTime in_timestamp;
+ GstClockTime in_duration;
};
struct _GstPngDecClass