Commit 2147b38e authored by Linshizhi's avatar Linshizhi

Reset EOF flag if EAGAIN

parent cd77a100
......@@ -350,6 +350,7 @@ int bufferPackets() {
if (ret == AVERROR(EAGAIN)) {
printf("READFRAME AGAIN: %d\n", ret);
MuxEnv::protos[i].resetEofFlag();
}
printf("Failed to read frame\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment