When allocating mVideoStream, set mVideoStreamId as well
This commit is contained in:
parent
ac42aa2488
commit
ad9fd05955
|
@ -109,6 +109,7 @@ AVStream *Camera::get_VideoStream() {
|
|||
} else {
|
||||
Error("Can't create video stream");
|
||||
}
|
||||
mVideoStreamId = mVideoStream->index;
|
||||
}
|
||||
return mVideoStream;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue