static int do_show_format = 0;
static AVDictionary *fmt_entries_to_show = NULL;
+static int nb_fmt_entries_to_show;
static int do_show_packets = 0;
static int do_show_streams = 0;
printf("%s\n", val);
}
} else if (tag && av_dict_get(fmt_entries_to_show, tag, NULL, 0)) {
- printf("%s=%s\n", tag, val);
+ if (nb_fmt_entries_to_show > 1)
+ printf("%s=", tag);
+ printf("%s\n", val);
}
}
static int opt_show_format_entry(const char *opt, const char *arg)
{
do_show_format = 1;
+ nb_fmt_entries_to_show++;
av_dict_set(&fmt_entries_to_show, arg, "", 0);
return 0;
}
FATE_PROBE_FORMAT += fate-probe-format-roundup997
-fate-probe-format-roundup997: REF = format_name=mpeg
+fate-probe-format-roundup997: REF = mpeg
FATE_PROBE_FORMAT += fate-probe-format-roundup1383
-fate-probe-format-roundup1383: REF = format_name=mp3
+fate-probe-format-roundup1383: REF = mp3
FATE_PROBE_FORMAT += fate-probe-format-roundup1414
-fate-probe-format-roundup1414: REF = format_name=mpeg
+fate-probe-format-roundup1414: REF = mpeg
FATE_PROBE_FORMAT += fate-probe-format-roundup2015
-fate-probe-format-roundup2015: REF = format_name=dv
+fate-probe-format-roundup2015: REF = dv
FATE-$(CONFIG_AVPROBE) += $(FATE_PROBE_FORMAT)
fate-probe-format: $(FATE_PROBE_FORMAT)