summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorHe Junyan <junyan.he@intel.com>2021-08-06 17:11:55 +0800
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2021-08-11 09:37:33 +0000
commit2505ab17e98eb6343ceae0e6fb7e130a90ec34f0 (patch)
tree6d73b2475ced7410b0c1481818dd732c0f6cff84 /gst-libs
parentf20b3b81569cbc50de1c2b7ab85e295d16249841 (diff)
downloadgstreamer-plugins-bad-2505ab17e98eb6343ceae0e6fb7e130a90ec34f0.tar.gz
va: caps: Make the template raw video caps classified by features.
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>
Diffstat (limited to 'gst-libs')
0 files changed, 0 insertions, 0 deletions