mirror of
https://github.com/simon987/sist2.git
synced 2025-04-16 08:56:45 +00:00
whoops
This commit is contained in:
parent
b3cd630399
commit
7d0091f647
@ -119,11 +119,11 @@ void parse(void *arg) {
|
||||
} else if ((mmime == MimeVideo && doc.size >= MIN_VIDEO_SIZE) ||
|
||||
(mmime == MimeImage && doc.size >= MIN_IMAGE_SIZE) || mmime == MimeAudio) {
|
||||
|
||||
// if (job->vfile.is_fs_file) {
|
||||
// parse_media_filename(job->filepath, &doc);
|
||||
// } else {
|
||||
// parse_media_vfile(&job->vfile, &doc);
|
||||
// }
|
||||
if (job->vfile.is_fs_file) {
|
||||
parse_media_filename(job->filepath, &doc);
|
||||
} else {
|
||||
parse_media_vfile(&job->vfile, &doc);
|
||||
}
|
||||
|
||||
} else if (IS_PDF(doc.mime)) {
|
||||
void *pdf_buf = read_all(job, (char *) buf, bytes_read);
|
||||
|
Loading…
x
Reference in New Issue
Block a user