vpx: Define formats for compatibility
authorSeungha Yang <seungha@centricular.com>
Sun, 30 Oct 2022 11:03:10 +0000 (20:03 +0900)
committerSeungha Yang <seungha@centricular.com>
Thu, 3 Nov 2022 20:14:23 +0000 (05:14 +0900)
commit1ce38adfe35e292cba34dee5c863a6f7bd3259a7
treeaabd61e371524e659303b7fa67e6560e0bb14bf6
parent6d46a9c3c7cc8a7f5cd588d0f19045a6e2826a3f
vpx: Define formats for compatibility

ifdef for enum values never work. Instead, define new enum type
and use it

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3298>
subprojects/gst-plugins-good/ext/vpx/gstvp9dec.c
subprojects/gst-plugins-good/ext/vpx/gstvp9enc.c
subprojects/gst-plugins-good/ext/vpx/gstvpxcompat.h [new file with mode: 0644]
subprojects/gst-plugins-good/ext/vpx/gstvpxdec.h
subprojects/gst-plugins-good/ext/vpx/gstvpxenc.h