Skip to content

Commit 3c6d594

Browse files
author
Ross Newman
committed
RTP raw streaming added (no Gstreamer)
1 parent 790470f commit 3c6d594

File tree

8 files changed

+585
-515
lines changed

8 files changed

+585
-515
lines changed

camera/gstCamera.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ bool gstCamera::ConvertYUVtoRGBA( void* input, void** output )
9898
}
9999
}
100100

101-
// nvcamera is NV12
101+
// nvcamera is YUV
102102
if( CUDA_FAILED(cudaYUVToRGBAf((uint8_t*)input, (float4*)mRGBA, mWidth, mHeight)) )
103103
return false;
104104

@@ -341,7 +341,7 @@ gstCamera* gstCamera::Create(std::string pipeline, int height, int width)
341341
return NULL;
342342
}
343343

344-
gstCamera* cam = new gstCamera(width, height);
344+
gstCamera* cam = new gstCamera(height, width);
345345

346346
if( !cam )
347347
return NULL;
@@ -423,7 +423,6 @@ bool gstCamera::init(std::string pipestr)
423423
return true;
424424
}
425425

426-
427426
// Open
428427
bool gstCamera::Open()
429428
{

0 commit comments

Comments
 (0)