Revision 46c24e94 input.c

View differences:

input.c
18 18
  uint64_t first_ts;
19 19
};
20 20

  
21
struct input_desc *input_open(const char *fname)
21
struct input_desc *input_open(const char *fname, uint16_t flags)
22 22
{
23 23
  struct input_desc *res;
24 24
  struct timeval tv;
......
31 31
  gettimeofday(&tv, NULL);
32 32
  res->start_time = tv.tv_usec + tv.tv_sec * 1000000ULL;
33 33
  res->first_ts = 0;
34
  res->s = input_stream_open(fname, &res->interframe);
34
  res->s = input_stream_open(fname, &res->interframe, flags);
35 35
  if (res->s == NULL) {
36 36
    free(res);
37 37
    res = NULL;

Also available in: Unified diff