mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
avfvideosrc: minor cosmetic
This commit is contained in:
parent
752d74b31f
commit
88b5ff76f6
1 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue