ffprobe: discard non-selected streams

pull/130/merge
Clément Bœsch 8 years ago
parent 7355c1dda2
commit 8ba1fc2a4a
  1. 2
      ffprobe.c

@ -2886,6 +2886,8 @@ static int probe_file(WriterContext *wctx, const char *filename)
} else {
selected_streams[i] = 1;
}
if (!selected_streams[i])
ifile.fmt_ctx->streams[i]->discard = AVDISCARD_ALL;
}
if (do_read_frames || do_read_packets) {

Loading…
Cancel
Save