avfvideosrc: fix truncated line
authorMatthieu Bouron <matthieu.bouron@collabora.com>
Fri, 20 Sep 2013 23:20:36 +0000 (00:20 +0100)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Wed, 30 Oct 2013 16:27:58 +0000 (16:27 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=710657

sys/applemedia/avfvideosrc.m

index d2db4a883f4ef9c72bff990732fba59c8f5f30d4..fffa44c69ac2e9c0ab119c26f849857e6bf1153f 100644 (file)
@@ -361,7 +361,7 @@ didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer
        GST_FOURCC_ARGS (gst_video_format_to_fourc(format)));
 
 
-    output.videoSettings = [NSDictionary dictionaryWithObject:[NSNumber numberWithInt:newformat] forKey:(NSString*)kCVPixelBu
+    output.videoSettings = [NSDictionary dictionaryWithObject:[NSNumber numberWithInt:newformat] forKey:(NSString*)kCVPixelBufferPixelFormatTypeKey];
 
     [session startRunning];
   });