vtenc: fix a warning when building in MacOS 10.12

vtenc.c:564:20: error: incompatible pointer types passing 'GstVTEnc *' (aka 'struct _GstVTEnc *')
to parameter of type 'GstVideoEncoder *' (aka 'struct _GstVideoEncoder *')
This commit is contained in:
Josep Torra 2017-12-12 08:40:33 +01:00
parent 842d7a9162
commit 5676005235

View file

@ -561,7 +561,7 @@ gst_vtenc_stop (GstVideoEncoder * enc)
GstVTEnc *self = GST_VTENC_CAST (enc); GstVTEnc *self = GST_VTENC_CAST (enc);
GST_VIDEO_ENCODER_STREAM_LOCK (self); GST_VIDEO_ENCODER_STREAM_LOCK (self);
gst_vtenc_flush (self); gst_vtenc_flush (enc);
GST_VIDEO_ENCODER_STREAM_UNLOCK (self); GST_VIDEO_ENCODER_STREAM_UNLOCK (self);
GST_OBJECT_LOCK (self); GST_OBJECT_LOCK (self);