mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-26 16:28:31 -04:00
Set codec_type in zm_packet
This commit is contained in:
1 parent
7c049afc61
commit
08a28e6960
1 file changed
+1
@@ -2179,6 +2179,7 @@ int LocalCamera::Capture(ZMPacket &zm_packet) {
|
||||
zm_packet.image->Assign(width, height, colours, subpixelorder, buffer, imagesize);
|
||||
} // end if doing conversion or not
|
||||
|
||||
zm_packet.codec_type = AVMEDIA_TYPE_VIDEO;
|
||||
zm_packet.keyframe = 1;
|
||||
return 1;
|
||||
} // end int LocalCamera::Capture()
|
||||
|
||||
Reference in new issue
Block a user