Skip to content

Added a timeout on av_read_frame in LAVFDemuxer.cpp - #524

Open
coldays wants to merge 1 commit into
Nevcairiel:masterfrom
coldays:av_read_frame_timeout
Open

Added a timeout on av_read_frame in LAVFDemuxer.cpp#524
coldays wants to merge 1 commit into
Nevcairiel:masterfrom
coldays:av_read_frame_timeout

Conversation

@coldays

@coldays coldays commented Dec 12, 2022

Copy link
Copy Markdown

Fixed a bug where the demuxer would get stuck on av_read_frame in LAVFDemuxer.cpp:GetNextPacket.

Repro steps:

  1. Connect to a rtsp stream source
  2. Disconnect the rtsp source (e.g. pull the power)
  3. Watch how demuxer is perpetually stuck on av_read_frame

@clsid2

clsid2 commented Dec 12, 2022

Copy link
Copy Markdown
Contributor

LAV Filters included in MPC-HC uses a similar patch:
clsid2@9633f1a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants