mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +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,
|
||||
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);
|
||||
[session startRunning];
|
||||
|
|
Loading…
Reference in a new issue