ffmpeg/tests
Derek Buitenhuis e6754d2ad2 ffprobe: Rename Audio Service Type 'type' field to 'service_type'
677a030b26 introduced more printable
side data types in ffprobe, however the Audio Service Type side data
'type' field that was introduced aliases an existing field of the same
name within the side data array, which can lead to JSON output like:

    "side_data_list": [
        {
            "side_data_type": "Audio Service Type",
            "type": 0
        },
        {
            "side_data_type": "Stereo 3D",
            "type": "side by side",
            "inverted": 1
        }
    ]

This, while technically valid JSON, is considered bad practice, since it
forces all downstream users to manually parse it and check all types;
it makes simple deserialization impossible. Worse, in som loosely
type languages, it can lead to silent bugs if exising code assumed
it was a different type.

As such, rename this second "type" field to "service_type".

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2021-08-06 15:48:31 +01:00
..
api avcodec/avcodec: Stop including channel_layout.h in avcodec.h 2021-07-22 11:14:31 +02:00
checkasm Remove unnecessary mem.h inclusions 2021-07-22 14:47:57 +02:00
dnn tests/dnn/dnn-layer-mathunary-test: add unit test for exp 2021-03-24 13:57:19 +08:00
fate avcodec/noise_bsf: restore dropamount for backwards compatibility 2021-07-30 17:14:43 +05:30
filtergraphs fate: add yuv420p10 and yuv422p10 tests for overlay filter 2020-06-19 07:14:46 +08:00
ref ffprobe: Rename Audio Service Type 'type' field to 'service_type' 2021-08-06 15:48:31 +01:00
.gitignore
Makefile libavresample: Remove deprecated library 2021-04-27 10:43:13 -03:00
audiogen.c
audiomatch.c tests/audiomatch: add free to make static analysis tools happy 2020-12-10 19:38:32 +08:00
base64.c
copycooker.sh
extended.ffconcat
fate-run.sh fate-run.sh: print stream side data in probeaudiostream() 2021-05-09 11:07:20 +02:00
fate-valgrind.supp
fate.sh libavresample: Remove deprecated library 2021-04-27 10:43:13 -03:00
md5.sh
refcmp-metadata.awk
reference.pnm
rotozoom.c
simple1.ffconcat
simple2.ffconcat
test.ffmeta
tiny_psnr.c
tiny_ssim.c
utils.c
videogen.c