From 4f550ff50f72a6a05e41bbb9b989a3496aaf7b37 Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Thu, 17 Dec 2015 14:49:13 +1100 Subject: [PATCH] applemedia: avfvideosrc: do fixate --- sys/applemedia/avfvideosrc.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/applemedia/avfvideosrc.m b/sys/applemedia/avfvideosrc.m index 1c35bfb9c3..075adffec2 100644 --- a/sys/applemedia/avfvideosrc.m +++ b/sys/applemedia/avfvideosrc.m @@ -1137,6 +1137,8 @@ static gboolean gst_avf_video_src_unlock_stop (GstBaseSrc * basesrc); static GstFlowReturn gst_avf_video_src_create (GstPushSrc * pushsrc, GstBuffer ** buf); static gboolean gst_avf_video_src_negotiate (GstBaseSrc * basesrc); +static GstCaps * gst_avf_video_src_fixate (GstBaseSrc * bsrc, + GstCaps * caps); static void @@ -1160,6 +1162,7 @@ gst_avf_video_src_class_init (GstAVFVideoSrcClass * klass) gstbasesrc_class->query = gst_avf_video_src_query; gstbasesrc_class->unlock = gst_avf_video_src_unlock; gstbasesrc_class->unlock_stop = gst_avf_video_src_unlock_stop; + gstbasesrc_class->fixate = gst_avf_video_src_fixate; gstbasesrc_class->negotiate = gst_avf_video_src_negotiate; gstpushsrc_class->create = gst_avf_video_src_create; @@ -1415,7 +1418,7 @@ gst_avf_video_src_negotiate (GstBaseSrc * basesrc) static GstCaps * -gst_base_src_fixate (GstBaseSrc * bsrc, GstCaps * caps) +gst_avf_video_src_fixate (GstBaseSrc * bsrc, GstCaps * caps) { GstCaps *ret;