LAVFilters
LAVFilters copied to clipboard
Added a timeout on av_read_frame in LAVFDemuxer.cpp
Fixed a bug where the demuxer would get stuck on av_read_frame in LAVFDemuxer.cpp:GetNextPacket.
Repro steps:
- Connect to a rtsp stream source
- Disconnect the rtsp source (e.g. pull the power)
- Watch how demuxer is perpetually stuck on av_read_frame
LAV Filters included in MPC-HC uses a similar patch: https://github.com/clsid2/LAVFilters/commit/9633f1a9d2ce5beb08efee564a462498c2ec31b1