Re: [FFmpeg-devel] [PATCH 0/1] avformat hls check discard state of streams always

2020-05-01 Thread Steven Liu
> 2020年5月1日 下午11:24,vectronic 写道: > > After opening an HLS package with avformat_open_input() and then getting > stream > info with avformat_find_stream_info() I was then setting some of the input > streams > to be discarded via avStream->discard = AVDISCARD_ALL. > > However subsequent calls

[FFmpeg-devel] [PATCH 0/1] avformat hls check discard state of streams always

2020-05-01 Thread vectronic
After opening an HLS package with avformat_open_input() and then getting stream info with avformat_find_stream_info() I was then setting some of the input streams to be discarded via avStream->discard = AVDISCARD_ALL. However subsequent calls to av_read_frame() were returning packets from the st