mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-14 12:04:11 +00:00
videodecoder: Add GST_VIDEO_DECODER_CAST macro
It's used in some macros already, so let's make it exist.
This commit is contained in:
parent
e3a212e0d4
commit
6e492304dd
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue