mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-19 12:06:29 -04:00
If we already tried decoding a packet, don't try again. Also we really shouldn't be decoding in videostore.
This commit is contained in:
@@ -979,7 +979,7 @@ int VideoStore::writeVideoFramePacket(ZMPacket *zm_packet) {
|
||||
);
|
||||
} else if ( !zm_packet->in_frame ) {
|
||||
Debug(4, "Have no in_frame");
|
||||
if ( zm_packet->packet.size ) {
|
||||
if (zm_packet->packet.size and !zm_packet->decoded) {
|
||||
Debug(4, "Decoding");
|
||||
if ( !zm_packet->decode(video_in_ctx) ) {
|
||||
Debug(2, "unable to decode yet.");
|
||||
|
||||
Reference in New Issue
Block a user