mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-02 14:36:41 +00:00
2505ab17e9
The current output of raw video caps is not good. When we have multi profiles and each profile support different formats, the output of gst-inspect may like: SRC template: 'src' Availability: Always Capabilities: video/x-raw(memory:VAMemory) width: [ 1, 16384 ] height: [ 1, 16384 ] format: NV12 video/x-raw width: [ 1, 16384 ] height: [ 1, 16384 ] format: NV12 video/x-raw(memory:VAMemory) width: [ 1, 16384 ] height: [ 1, 16384 ] format: P010_10LE video/x-raw width: [ 1, 16384 ] height: [ 1, 16384 ] format: P010_10LE video/x-raw(memory:VAMemory) width: [ 1, 16384 ] height: [ 1, 16384 ] format: P012_LE video/x-raw width: [ 1, 16384 ] height: [ 1, 16384 ] format: P012_LE The gst_caps_simplify does not classify the caps by same features, but just leave them interweaved. We need to handle them manually here, the result should be: SRC template: 'src' Availability: Always Capabilities: video/x-raw width: [ 1, 16384 ] height: [ 1, 16384 ] format: { (string)P010_10LE, (string)P012_LE, (string)NV12 } video/x-raw(memory:VAMemory) width: [ 1, 16384 ] height: [ 1, 16384 ] format: { (string)P010_10LE, (string)P012_LE, (string)NV12 } Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2456> |
||
---|---|---|
.. | ||
gstvaallocator.c | ||
gstvaallocator.h | ||
gstvaav1dec.c | ||
gstvaav1dec.h | ||
gstvabasedec.c | ||
gstvabasedec.h | ||
gstvabasetransform.c | ||
gstvabasetransform.h | ||
gstvacaps.c | ||
gstvacaps.h | ||
gstvadecoder.c | ||
gstvadecoder.h | ||
gstvadevice.c | ||
gstvadevice.h | ||
gstvadisplay_priv.c | ||
gstvadisplay_priv.h | ||
gstvafilter.c | ||
gstvafilter.h | ||
gstvah264dec.c | ||
gstvah264dec.h | ||
gstvah265dec.c | ||
gstvah265dec.h | ||
gstvampeg2dec.c | ||
gstvampeg2dec.h | ||
gstvapool.c | ||
gstvapool.h | ||
gstvaprofile.c | ||
gstvaprofile.h | ||
gstvautils.c | ||
gstvautils.h | ||
gstvavideoformat.c | ||
gstvavideoformat.h | ||
gstvavp8dec.c | ||
gstvavp8dec.h | ||
gstvavp9dec.c | ||
gstvavp9dec.h | ||
gstvavpp.c | ||
gstvavpp.h | ||
meson.build | ||
plugin.c |