Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
9e23ed59
Commit
9e23ed59
authored
Apr 30, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcapture: fix compilation warnings
parent
00b2fcce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/access/avcapture.m
modules/access/avcapture.m
+2
-2
No files found.
modules/access/avcapture.m
View file @
9e23ed59
...
@@ -297,7 +297,7 @@ static int Open(vlc_object_t *p_this)
...
@@ -297,7 +297,7 @@ static int Open(vlc_object_t *p_this)
{
{
AVCaptureDevice
*
avf_device
;
AVCaptureDevice
*
avf_device
;
avf_device
=
myVideoDevices
[
ivideo
];
avf_device
=
myVideoDevices
[
ivideo
];
msg_Dbg
(
p_demux
,
"avcapture %
lu/%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
])
{
if
([[[
avf_device
uniqueID
]
stringByTrimmingCharactersInSet
:[
NSCharacterSet
whitespaceCharacterSet
]]
isEqualToString
:
avf_currdevice_uid
])
{
break
;
break
;
}
}
...
@@ -347,7 +347,7 @@ static int Open(vlc_object_t *p_this)
...
@@ -347,7 +347,7 @@ static int Open(vlc_object_t *p_this)
[
p_sys
->
session
addOutput
:
p_sys
->
output
];
[
p_sys
->
session
addOutput
:
p_sys
->
output
];
dispatch_queue_t
queue
=
dispatch_queue_create
(
"avCaptureQueue"
,
NULL
);
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
);
dispatch_release
(
queue
);
p_sys
->
output
.
videoSettings
=
[
NSDictionary
dictionaryWithObject
:
@
(
kCVPixelFormatType_32BGRA
)
forKey
:(
id
)
kCVPixelBufferPixelFormatTypeKey
];
p_sys
->
output
.
videoSettings
=
[
NSDictionary
dictionaryWithObject
:
@
(
kCVPixelFormatType_32BGRA
)
forKey
:(
id
)
kCVPixelBufferPixelFormatTypeKey
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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