- static int get_format(char *format, const char *path, char *spec);
- static int scan_option_line(char *cp,char *tag,char *val);
+ static int get_format(char *format, const char *path, const char *spec);
+ static int get_codec(char *codec, const char *path, const char *spec);
+ static int scan_option_line(const char *cp,char *tag,char *val);
+ static int load_defaults(const char *path, const char *type,
+ char *codec, char *codec_options, int len);
+ static int can_render(const char *fformat, const char *type);
+ static int renders_audio(const char *fformat) { return can_render(fformat, "audio"); }
+ static int renders_video(const char *fformat) { return can_render(fformat, "video"); }
+ static int get_ff_option(const char *nm, const char *options, char *value);
+ static void scan_audio_options(Asset *asset, EDL *edl);
+ static void load_audio_options(Asset *asset, EDL *edl);
+ static void scan_video_options(Asset *asset, EDL *edl);
+ static void load_video_options(Asset *asset, EDL *edl);
+ static void set_asset_format(Asset *asset, EDL *edl, const char *text);