Browse Source

avfilter/avf_showspectrum: properly initialize pts

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n3.4
Paul B Mahol 8 years ago
parent
commit
49d0678181
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavfilter/avf_showspectrum.c

+ 2
- 0
libavfilter/avf_showspectrum.c View File

@@ -299,6 +299,8 @@ static int config_output(AVFilterLink *outlink)
int i, fft_bits, h, w; int i, fft_bits, h, w;
float overlap; float overlap;


s->pts = AV_NOPTS_VALUE;

if (!strcmp(ctx->filter->name, "showspectrumpic")) if (!strcmp(ctx->filter->name, "showspectrumpic"))
s->single_pic = 1; s->single_pic = 1;




Loading…
Cancel
Save