diff options
author | He Junyan <junyan.he@hotmail.com> | 2019-12-12 21:34:21 +0800 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2019-12-20 07:39:43 +0000 |
commit | b2cabe2f5b961e3bea3b4537f86667dd1c493835 (patch) | |
tree | 0cc5cbfda50c9a517757f165dbb92d8189982703 /gst-libs/gst/vaapi/gstvaapidisplay_priv.h | |
parent | 608ce681e5dd51460c2fe5ff0be110fc40a4618a (diff) |
libs: display: refine the profile/entrypoint map.
The old way make the one config for each profile/entrypoint pair,
which is not very convenient for description the relationship
between them. One profile may contain more than one entrypoints
to within it, so a set like data structure should be more suitable.
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapidisplay_priv.h')
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapidisplay_priv.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidisplay_priv.h b/gst-libs/gst/vaapi/gstvaapidisplay_priv.h index 9a34ba8c..0b4e3c32 100644 --- a/gst-libs/gst/vaapi/gstvaapidisplay_priv.h +++ b/gst-libs/gst/vaapi/gstvaapidisplay_priv.h @@ -120,8 +120,9 @@ struct _GstVaapiDisplayPrivate guint height_mm; guint par_n; guint par_d; - GArray *decoders; - GArray *encoders; + GPtrArray *decoders; /* ref element in codecs */ + GPtrArray *encoders; /* ref element in codecs */ + GArray *codecs; GArray *image_formats; GArray *subpicture_formats; GArray *properties; |