Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gst-plugins-base.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Schmidt <jan@centricular.com>2014-12-10 17:53:15 +0300
committerTim-Philipp Müller <tim@centricular.com>2014-12-11 17:23:41 +0300
commite84276bc24eaae24453952cb7914ddeaf880fea4 (patch)
tree444bbdf81b8f8ff9892cb711328376552be583d8
parent9e28d019bf03939d16840666690cb3e41b72c83b (diff)
videodecoder: Add GST_VIDEO_DECODER_CAST macro
It's used in some macros already, so let's make it exist.
-rw-r--r--gst-libs/gst/video/gstvideodecoder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/video/gstvideodecoder.h b/gst-libs/gst/video/gstvideodecoder.h
index 04b6245c9..e5e3efee7 100644
--- a/gst-libs/gst/video/gstvideodecoder.h
+++ b/gst-libs/gst/video/gstvideodecoder.h
@@ -42,6 +42,7 @@ G_BEGIN_DECLS
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VIDEO_DECODER))
#define GST_IS_VIDEO_DECODER_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VIDEO_DECODER))
+#define GST_VIDEO_DECODER_CAST(obj) ((GstVideoDecoder *)(obj))
/**
* GST_VIDEO_DECODER_SINK_NAME: