File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
object-detection-cv25/app Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -277,8 +277,8 @@ bool chooseStreamResolution(unsigned int reqWidth,
277277 // If we got a reasonable w/h from the VDO channel info we use that
278278 // for creating the stream. If that info for some reason was empty we
279279 // fall back to trying to create a stream with client-supplied w/h.
280- * chosenWidth = reqWidth ;
281- * chosenWidth = reqHeight ;
280+ * chosenWidth = reqWidth ;
281+ * chosenHeight = reqHeight ;
282282 if (bestResolutionIdx >= 0 ) {
283283 * chosenWidth = set -> resolutions [bestResolutionIdx ].width ;
284284 * chosenHeight = set -> resolutions [bestResolutionIdx ].height ;
Original file line number Diff line number Diff line change @@ -268,8 +268,8 @@ bool chooseStreamResolution(unsigned int reqWidth,
268268 // If we got a reasonable w/h from the VDO channel info we use that
269269 // for creating the stream. If that info for some reason was empty we
270270 // fall back to trying to create a stream with client-supplied w/h.
271- * chosenWidth = reqWidth ;
272- * chosenWidth = reqHeight ;
271+ * chosenWidth = reqWidth ;
272+ * chosenHeight = reqHeight ;
273273 if (bestResolutionIdx >= 0 ) {
274274 * chosenWidth = set -> resolutions [bestResolutionIdx ].width ;
275275 * chosenHeight = set -> resolutions [bestResolutionIdx ].height ;
You can’t perform that action at this time.
0 commit comments