Load the codec before video seek and only load it once.

This commit is contained in:
codestation
2015-05-27 23:43:59 -04:30
parent 88364042f8
commit b69c0b7d22
2 changed files with 12 additions and 1 deletions

View File

@@ -87,6 +87,7 @@ private:
AVStream *av_stream;
AVCodec *av_codec;
int stream_index;
bool codec_loaded;
};
#endif // AVDECODER_H