Load the codec before video seek and only load it once.
This commit is contained in:
@@ -87,6 +87,7 @@ private:
|
||||
AVStream *av_stream;
|
||||
AVCodec *av_codec;
|
||||
int stream_index;
|
||||
bool codec_loaded;
|
||||
};
|
||||
|
||||
#endif // AVDECODER_H
|
||||
|
Reference in New Issue
Block a user