summaryrefslogtreecommitdiff
path: root/gst-libs/gst/video/gstvideodecoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/video/gstvideodecoder.h')
-rw-r--r--gst-libs/gst/video/gstvideodecoder.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/gst-libs/gst/video/gstvideodecoder.h b/gst-libs/gst/video/gstvideodecoder.h
index a895c81be..a38287336 100644
--- a/gst-libs/gst/video/gstvideodecoder.h
+++ b/gst-libs/gst/video/gstvideodecoder.h
@@ -344,8 +344,22 @@ struct _GstVideoDecoderClass
GstVideoCodecFrame *frame,
GstMeta * meta);
+ /**
+ * GstVideoDecoderClass::handle_missing_data:
+ * @decoder: The #GstVideoDecoder
+ * @timestamp: Timestamp of the missing data
+ * @duration: Duration of the missing data
+ *
+ * Returns: %TRUE if the decoder should be drained afterwards.
+ *
+ * Since: 1.20
+ */
+ gboolean (*handle_missing_data) (GstVideoDecoder *decoder,
+ GstClockTime timestamp,
+ GstClockTime duration);
+
/*< private >*/
- gpointer padding[GST_PADDING_LARGE-6];
+ gpointer padding[GST_PADDING_LARGE-7];
};
/**