zmwangx / rust-ffmpeg

Safe FFmpeg wrapper.
Do What The F*ck You Want To Public License
1.2k stars 195 forks source link

Fix packet read an error which is not EOF and the PacketIter will be blocked #146

Open misssonder opened 1 year ago

misssonder commented 1 year ago

When I get the packets data through the function Input.packets(), and the source stream is closed without send EOF. the PacketIter will be blocked.