From d7fb26b12ad24bd769a9e64bd74da0424a03a5cd Mon Sep 17 00:00:00 2001 From: Seven Du Date: Tue, 13 Mar 2018 20:30:10 +0800 Subject: [PATCH] FS-11024 #resolve fix pdf turn pages --- src/mod/formats/mod_imagick/mod_imagick.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/formats/mod_imagick/mod_imagick.c b/src/mod/formats/mod_imagick/mod_imagick.c index 7680e65a13..96efd74df0 100644 --- a/src/mod/formats/mod_imagick/mod_imagick.c +++ b/src/mod/formats/mod_imagick/mod_imagick.c @@ -465,6 +465,7 @@ static switch_status_t imagick_file_seek(switch_file_handle_t *handle, unsigned context->same_page = 0; *cur_sample = page; handle->vpos = page; + handle->pos = page * (handle->samplerate / 1000); } return status;