mirror of
https://github.com/mpromonet/v4l2rtspserver
synced 2024-11-03 23:15:56 +00:00
fix init frames
This commit is contained in:
parent
eaeda29aec
commit
2a360ab574
@ -72,7 +72,8 @@ unsigned char* H26X_V4L2DeviceSource::extractFrame(unsigned char* frame, size_t
|
||||
}
|
||||
|
||||
std::string H26X_V4L2DeviceSource::getFrameWithMarker(const std::string & frame) {
|
||||
std::string frameWithMarker(H264marker);
|
||||
std::string frameWithMarker;
|
||||
frameWithMarker.append(H264marker, sizeof(H264marker));
|
||||
frameWithMarker.append(frame);
|
||||
return frameWithMarker;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user