mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Allow skipping more bad packets after a good one.
This commit is contained in:
@@ -59,6 +59,8 @@ FFmpeg::AvErrorWrap ProcessPacket(Stream &stream, FFmpeg::Packet &&packet) {
|
|||||||
return FFmpeg::AvErrorWrap(); // Try to skip a bad packet.
|
return FFmpeg::AvErrorWrap(); // Try to skip a bad packet.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
stream.invalidDataPackets = 0;
|
||||||
}
|
}
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user