summaryrefslogtreecommitdiffstats
path: root/libavfilter/avf_showcqt.h
diff options
context:
space:
mode:
authorMuhammad Faiz <mfcc64@gmail.com>2016-02-16 07:03:37 +0700
committerMichael Niedermayer <michael@niedermayer.cc>2016-02-17 16:13:09 +0100
commit7c11e727f640f8428e71cba5513b4a459366d1b8 (patch)
tree46794695f0927ea884463c9cb3d7af45d613809f /libavfilter/avf_showcqt.h
parentc351126ee93825c3ceaf11ec4be79f8a906b8fab (diff)
downloadffmpeg-streaming-7c11e727f640f8428e71cba5513b4a459366d1b8.zip
ffmpeg-streaming-7c11e727f640f8428e71cba5513b4a459366d1b8.tar.gz
avfilter/avf_showcqt: improve pts handling
correct output pts based on input pts make seeking possible output frame one by one on eof tested with showinfo filter Suggested-by: Paul B Mahol <onemda@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter/avf_showcqt.h')
-rw-r--r--libavfilter/avf_showcqt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_showcqt.h b/libavfilter/avf_showcqt.h
index a48b2b0..39c9030 100644
--- a/libavfilter/avf_showcqt.h
+++ b/libavfilter/avf_showcqt.h
@@ -60,7 +60,7 @@ typedef struct {
AVRational step_frac;
int remaining_frac;
int remaining_fill;
- int64_t frame_count;
+ int64_t next_pts;
double *freq;
FFTContext *fft_ctx;
Coeffs *coeffs;
OpenPOWER on IntegriCloud