Revision 4a908866 ffmpeg.c

View differences:

ffmpeg.c
3027 3027
        *type = 'g';
3028 3028
}
3029 3029

  
3030
static void opt_map_meta_data(const char *arg)
3030
static void opt_map_metadata(const char *arg)
3031 3031
{
3032 3032
    AVMetaDataMap *m, *m1;
3033 3033
    char *p;
......
3053 3053
        metadata_chapters_autocopy = 0;
3054 3054
}
3055 3055

  
3056
static void opt_map_meta_data(const char *arg)
3057
{
3058
    fprintf(stderr, "-map_meta_data is deprecated and will be removed soon. "
3059
                    "Use -map_metadata instead.\n");
3060
    opt_map_metadata(arg);
3061
}
3062

  
3056 3063
static void opt_map_chapters(const char *arg)
3057 3064
{
3058 3065
    AVChapterMap *c;
......
4211 4218
    { "i", HAS_ARG, {(void*)opt_input_file}, "input file name", "filename" },
4212 4219
    { "y", OPT_BOOL, {(void*)&file_overwrite}, "overwrite output files" },
4213 4220
    { "map", HAS_ARG | OPT_EXPERT, {(void*)opt_map}, "set input stream mapping", "file:stream[:syncfile:syncstream]" },
4214
    { "map_meta_data", HAS_ARG | OPT_EXPERT, {(void*)opt_map_meta_data}, "set meta data information of outfile from infile", "outfile[,metadata]:infile[,metadata]" },
4221
    { "map_meta_data", HAS_ARG | OPT_EXPERT, {(void*)opt_map_meta_data}, "DEPRECATED set meta data information of outfile from infile",
4222
      "outfile[,metadata]:infile[,metadata]" },
4223
    { "map_metadata", HAS_ARG | OPT_EXPERT, {(void*)opt_map_metadata}, "set metadata information of outfile from infile",
4224
      "outfile[,metadata]:infile[,metadata]" },
4215 4225
    { "map_chapters",  HAS_ARG | OPT_EXPERT, {(void*)opt_map_chapters},  "set chapters mapping", "outfile:infile" },
4216 4226
    { "t", OPT_FUNC2 | HAS_ARG, {(void*)opt_recording_time}, "record or transcode \"duration\" seconds of audio/video", "duration" },
4217 4227
    { "fs", HAS_ARG | OPT_INT64, {(void*)&limit_filesize}, "set the limit file size in bytes", "limit_size" }, //

Also available in: Unified diff