Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
9e23ed59
Commit
9e23ed59
authored
Apr 30, 2013
by
Felix Paul Kühne
Browse files
avcapture: fix compilation warnings
parent
00b2fcce
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/avcapture.m
View file @
9e23ed59
...
...
@@ -297,7 +297,7 @@ static int Open(vlc_object_t *p_this)
{
AVCaptureDevice
*
avf_device
;
avf_device
=
myVideoDevices
[
ivideo
];
msg_Dbg
(
p_demux
,
"avcapture %
l
u/%
l
u %s %s"
,
ivideo
,
deviceCount
,
[[
avf_device
modelID
]
UTF8String
],
[[
avf_device
uniqueID
]
UTF8String
]);
msg_Dbg
(
p_demux
,
"avcapture %u/%u %s %s"
,
ivideo
,
deviceCount
,
[[
avf_device
modelID
]
UTF8String
],
[[
avf_device
uniqueID
]
UTF8String
]);
if
([[[
avf_device
uniqueID
]
stringByTrimmingCharactersInSet
:[
NSCharacterSet
whitespaceCharacterSet
]]
isEqualToString
:
avf_currdevice_uid
])
{
break
;
}
...
...
@@ -347,7 +347,7 @@ static int Open(vlc_object_t *p_this)
[
p_sys
->
session
addOutput
:
p_sys
->
output
];
dispatch_queue_t
queue
=
dispatch_queue_create
(
"avCaptureQueue"
,
NULL
);
[
p_sys
->
output
setSampleBufferDelegate
:
p_sys
->
output
queue
:
queue
];
[
p_sys
->
output
setSampleBufferDelegate
:
(
id
)
p_sys
->
output
queue
:
queue
];
dispatch_release
(
queue
);
p_sys
->
output
.
videoSettings
=
[
NSDictionary
dictionaryWithObject
:
@
(
kCVPixelFormatType_32BGRA
)
forKey
:(
id
)
kCVPixelBufferPixelFormatTypeKey
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment