avfvideosrc: minor cosmetic
This commit is contained in:
parent
752d74b31f
commit
88b5ff76f6
@ -511,7 +511,9 @@ didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer
|
|||||||
width, height,
|
width, height,
|
||||||
GST_FOURCC_ARGS (gst_video_format_to_fourcc (format)));
|
GST_FOURCC_ARGS (gst_video_format_to_fourcc (format)));
|
||||||
|
|
||||||
output.videoSettings = [NSDictionary dictionaryWithObject:[NSNumber numberWithInt:newformat] forKey:(NSString*)kCVPixelBufferPixelFormatTypeKey];
|
output.videoSettings = [NSDictionary
|
||||||
|
dictionaryWithObject:[NSNumber numberWithInt:newformat]
|
||||||
|
forKey:(NSString*)kCVPixelBufferPixelFormatTypeKey];
|
||||||
|
|
||||||
caps = gst_caps_copy (new_caps);
|
caps = gst_caps_copy (new_caps);
|
||||||
[session startRunning];
|
[session startRunning];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user