fix lukas/openmediacenter#68 tmdb categories not indexed correctly

This commit is contained in:
2021-09-27 19:30:18 +02:00
parent e4f09eddac
commit 881281af70
4 changed files with 29 additions and 17 deletions

View File

@ -23,7 +23,7 @@ func Parse(filename string, time uint64) (*string, *VidInfo, error) {
func decodePic(srcFileName string, decodeExtension string, time uint64) (pic *[]byte, info *VidInfo, err error) {
var swsctx *gmf.SwsCtx
gmf.LogSetLevel(gmf.AV_LOG_ERROR)
gmf.LogSetLevel(gmf.AV_LOG_PANIC)
stat, err := os.Stat(srcFileName)
if err != nil {