diff --git a/sys/applemedia/avfvideosrc.m b/sys/applemedia/avfvideosrc.m index b8f12b6027..f5153be207 100644 --- a/sys/applemedia/avfvideosrc.m +++ b/sys/applemedia/avfvideosrc.m @@ -268,7 +268,7 @@ didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer if (session == nil) return NULL; /* BaseSrc will return template caps */ - + result = gst_caps_new_empty (); formats = output.availableVideoCVPixelFormatTypes;