| 63 | } |
| 64 | |
| 65 | void bitStreamDecoder::addStream(const Stream_meta &meta, int i) |
| 66 | { |
| 67 | mDecoders[i] = unique_ptr<avcodecDecoder>(new avcodecDecoder()); |
| 68 | mDecoders[i]->open(&meta, nullptr, 0); |
| 69 | mPacketQues[i]; |
| 70 | mStatisInfo[i]; |
| 71 | mDemuxer.OpenStream(i); |
| 72 | mListener.onStreamMeta(&meta); |
| 73 | } |
| 74 | |
| 75 | int bitStreamDecoder::decode(unique_ptr<IAFPacket> &pkt, int index, bool flush) |
| 76 | { |
nothing calls this directly
no test coverage detected