diff --git a/src/gstducatividdec.h b/src/gstducatividdec.h
index 8be16d7ce2838a8f14fac71e0da10825b4bbc73a..622383b133e4e3d4d0b3877b29d24d92a14cd128 100644 (file)
--- a/src/gstducatividdec.h
+++ b/src/gstducatividdec.h
/* input buffer, allocated when codec is created: */
guint8 *input;
+ /* number of bytes pushed to input on current frame: */
+ gint in_size;
+
/* on first output buffer, we need to send crop info to sink.. and some
* operations like flushing should be avoided if we haven't sent any
* input buffers:
*/
gboolean first_out_buffer, first_in_buffer;
+ /* by default, codec_data from sinkpad is prepended to first buffer: */
+ GstBuffer *codec_data;
+
Engine_Handle engine;
VIDDEC3_Handle codec;
VIDDEC3_Params *params;