summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Torra <jtorra@oblong.com>2017-12-12 08:40:33 +0100
committerJosep Torra <jtorra@oblong.com>2017-12-12 08:40:33 +0100
commit56760052350fc71f5d00ed8b69f4924d53c76967 (patch)
tree89fc27e04586927d9d421bb08a734cf24b264e6e
parent842d7a91621b483df42b48d7645394fed0854837 (diff)
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 *')
-rw-r--r--sys/applemedia/vtenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/applemedia/vtenc.c b/sys/applemedia/vtenc.c
index 61b8ffc27..a1de16a29 100644
--- a/sys/applemedia/vtenc.c
+++ b/sys/applemedia/vtenc.c
@@ -561,7 +561,7 @@ gst_vtenc_stop (GstVideoEncoder * enc)
GstVTEnc *self = GST_VTENC_CAST (enc);
GST_VIDEO_ENCODER_STREAM_LOCK (self);
- gst_vtenc_flush (self);
+ gst_vtenc_flush (enc);
GST_VIDEO_ENCODER_STREAM_UNLOCK (self);
GST_OBJECT_LOCK (self);