When allocating mVideoStream, set mVideoStreamId as well

This commit is contained in:
Isaac Connor 2021-02-04 10:28:17 -05:00
parent ac42aa2488
commit ad9fd05955
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ AVStream *Camera::get_VideoStream() {
} else {
Error("Can't create video stream");
}
mVideoStreamId = mVideoStream->index;
}
return mVideoStream;
}