mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-10-16 18:54:13 +00:00
refactoring
This commit is contained in:
@@ -295,8 +295,9 @@ static void _unwrapping_end(us_rtpc_s *rtpc) {
|
|||||||
if (nalu_type != _NALU_IDR) {
|
if (nalu_type != _NALU_IDR) {
|
||||||
frame->used = 0;
|
frame->used = 0;
|
||||||
return;
|
return;
|
||||||
} else
|
} else {
|
||||||
rtpc->skip_until_key = false;
|
rtpc->skip_until_key = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
frame->format = V4L2_PIX_FMT_H264;
|
frame->format = V4L2_PIX_FMT_H264;
|
||||||
|
|||||||
Reference in New Issue
Block a user