]> git.sesse.net Git - ffmpeg/blobdiff - ffmpeg_opt.c
libopencore-amrdec: allow sampling rates other than 8khz
[ffmpeg] / ffmpeg_opt.c
index 1231e097ec9a52de590a43c5b2f532c50937cf46..adf40f2b32708d8c1b08079e4866c95551ad342b 100644 (file)
@@ -368,6 +368,7 @@ static int opt_map_channel(void *optctx, const char *opt, const char *arg)
 
 /**
  * Parse a metadata specifier passed as 'arg' parameter.
+ * @param arg  metadata string to parse
  * @param type metadata type is written here -- g(lobal)/s(tream)/c(hapter)/p(rogram)
  * @param index for type c/p, chapter/program index is written here
  * @param stream_spec for type s, the stream specifier is written here
@@ -586,6 +587,8 @@ static void add_input_streams(OptionsContext *o, AVFormatContext *ic)
         ist->reinit_filters = -1;
         MATCH_PER_STREAM_OPT(reinit_filters, i, ist->reinit_filters, ic, st);
 
+        ist->filter_in_rescale_delta_last = AV_NOPTS_VALUE;
+
         switch (dec->codec_type) {
         case AVMEDIA_TYPE_VIDEO:
             if(!ist->dec)