#define __GST_MATROSKA_MUX_H__
#include <gst/gst.h>
-#include <gst/base/gstcollectpads.h>
+#include <gst/base/gstcollectpads2.h>
#include "ebml-write.h"
#include "matroska-ids.h"
/* all information needed for one matroska stream */
typedef struct
{
- GstCollectData collect; /* we extend the CollectData */
+ GstCollectData2 collect; /* we extend the CollectData */
GstMatroskaCapsFunc capsfunc;
GstMatroskaTrackContext *track;
- GstBuffer *buffer; /* the queued buffer for this pad */
-
guint64 duration;
GstClockTime start_ts;
GstClockTime end_ts; /* last timestamp + (if available) duration */
/* pads */
GstPad *srcpad;
- GstCollectPads *collect;
- GstPadEventFunction collect_event;
+ GstCollectPads2 *collect;
GstEbmlWrite *ebml_write;
guint num_streams,