Revision 176b8de8 src/Chunkiser/output-stream-avf.c

View differences:

src/Chunkiser/output-stream-avf.c
12 12
#include "libav-compat.h"
13 13
#include "int_coding.h"
14 14
#include "payload.h"
15
#include "config.h"
15
#include "grapes_config.h"
16 16
#include "ffmpeg_compat.h"
17 17
#include "dechunkiser_iface.h"
18 18

  
......
177 177
  } else {
178 178
    out->output_file = strdup("/dev/stdout");
179 179
  }
180
  cfg_tags = config_parse(config);
180
  cfg_tags = grapes_config_parse(config);
181 181
  if (cfg_tags) {
182 182
    const char *format;
183 183

  
184
    format = config_value_str(cfg_tags, "format");
184
    format = grapes_config_value_str(cfg_tags, "format");
185 185
    if (format) {
186 186
      out->output_format = strdup(format);
187 187
    }
188
    format = config_value_str(cfg_tags, "media");
188
    format = grapes_config_value_str(cfg_tags, "media");
189 189
    if (format) {
190 190
      if (!strcmp(format, "video")) {
191 191
        out->selected_streams = 0x01;

Also available in: Unified diff