mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 05:56:31 +00:00
videodecoder/encoder: Correct GST_IS_*CODER_CLASS macros
They are currently not used, but would result in a compiler error due to wrong variable name usage. https://bugzilla.gnome.org/show_bug.cgi?id=766203
This commit is contained in:
parent
46e808a300
commit
5be3c5f6b2
2 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ G_BEGIN_DECLS
|
|||
(G_TYPE_INSTANCE_GET_CLASS((obj),GST_TYPE_VIDEO_DECODER,GstVideoDecoderClass))
|
||||
#define GST_IS_VIDEO_DECODER(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VIDEO_DECODER))
|
||||
#define GST_IS_VIDEO_DECODER_CLASS(obj) \
|
||||
#define GST_IS_VIDEO_DECODER_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VIDEO_DECODER))
|
||||
#define GST_VIDEO_DECODER_CAST(obj) ((GstVideoDecoder *)(obj))
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ G_BEGIN_DECLS
|
|||
(G_TYPE_INSTANCE_GET_CLASS((obj),GST_TYPE_VIDEO_ENCODER,GstVideoEncoderClass))
|
||||
#define GST_IS_VIDEO_ENCODER(obj) \
|
||||
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VIDEO_ENCODER))
|
||||
#define GST_IS_VIDEO_ENCODER_CLASS(obj) \
|
||||
#define GST_IS_VIDEO_ENCODER_CLASS(klass) \
|
||||
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VIDEO_ENCODER))
|
||||
#define GST_VIDEO_ENCODER_CAST(enc) ((GstVideoEncoder*)enc)
|
||||
|
||||
|
|
Loading…
Reference in a new issue