mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
gstelementfactory: Remove MEDIA_HARDWARE FactoryType
Using the MEDIA_ classifier prefix was inappropriate. It is sufficient to
specify the additional klass name that element can set in their metadata.
(follow-up of commit ca4b61c555
)
https://bugzilla.gnome.org/show_bug.cgi?id=796921
This commit is contained in:
parent
ca4b61c555
commit
a2832689ad
2 changed files with 13 additions and 4 deletions
|
@ -1051,7 +1051,6 @@ GST_ELEMENT_FACTORY_TYPE_MEDIA_IMAGE
|
|||
GST_ELEMENT_FACTORY_TYPE_MEDIA_METADATA
|
||||
GST_ELEMENT_FACTORY_TYPE_MEDIA_SUBTITLE
|
||||
GST_ELEMENT_FACTORY_TYPE_MEDIA_VIDEO
|
||||
GST_ELEMENT_FACTORY_TYPE_MEDIA_HARDWARE
|
||||
GST_ELEMENT_FACTORY_TYPE_MEDIA_ANY
|
||||
GST_ELEMENT_FACTORY_TYPE_MUXER
|
||||
GST_ELEMENT_FACTORY_TYPE_PARSER
|
||||
|
@ -1079,6 +1078,7 @@ GST_ELEMENT_FACTORY_KLASS_DEPAYLOADER
|
|||
GST_ELEMENT_FACTORY_KLASS_ENCODER
|
||||
GST_ELEMENT_FACTORY_KLASS_ENCRYPTOR
|
||||
GST_ELEMENT_FACTORY_KLASS_FORMATTER
|
||||
GST_ELEMENT_FACTORY_KLASS_HARDWARE
|
||||
GST_ELEMENT_FACTORY_KLASS_MEDIA_AUDIO
|
||||
GST_ELEMENT_FACTORY_KLASS_MEDIA_IMAGE
|
||||
GST_ELEMENT_FACTORY_KLASS_MEDIA_METADATA
|
||||
|
|
|
@ -111,7 +111,6 @@ gboolean gst_element_register (GstPlugin *plug
|
|||
* @GST_ELEMENT_FACTORY_TYPE_MEDIA_IMAGE: Elements handling image media types
|
||||
* @GST_ELEMENT_FACTORY_TYPE_MEDIA_SUBTITLE: Elements handling subtitle media types
|
||||
* @GST_ELEMENT_FACTORY_TYPE_MEDIA_METADATA: Elements handling metadata media types
|
||||
* @GST_ELEMENT_FACTORY_TYPE_MEDIA_HARDWARE: Elements interacting with hardware devices, you may need to put the element in "READY" state to test if the hardware is present in the system (Since 1.16)
|
||||
*
|
||||
* The type of #GstElementFactory to filter.
|
||||
*
|
||||
|
@ -143,7 +142,7 @@ typedef guint64 GstElementFactoryListType;
|
|||
#define GST_ELEMENT_FACTORY_TYPE_MEDIA_IMAGE ((GstElementFactoryListType)(G_GUINT64_CONSTANT (1) << 51))
|
||||
#define GST_ELEMENT_FACTORY_TYPE_MEDIA_SUBTITLE ((GstElementFactoryListType)(G_GUINT64_CONSTANT (1) << 52))
|
||||
#define GST_ELEMENT_FACTORY_TYPE_MEDIA_METADATA ((GstElementFactoryListType)(G_GUINT64_CONSTANT (1) << 53))
|
||||
#define GST_ELEMENT_FACTORY_TYPE_MEDIA_HARDWARE ((GstElementFactoryListType)(G_GUINT64_CONSTANT (1) << 54))
|
||||
|
||||
/**
|
||||
* GST_ELEMENT_FACTORY_TYPE_ANY: (value 562949953421311) (type GstElementFactoryListType)
|
||||
*
|
||||
|
@ -210,7 +209,17 @@ typedef guint64 GstElementFactoryListType;
|
|||
#define GST_ELEMENT_FACTORY_KLASS_MEDIA_IMAGE "Image"
|
||||
#define GST_ELEMENT_FACTORY_KLASS_MEDIA_SUBTITLE "Subtitle"
|
||||
#define GST_ELEMENT_FACTORY_KLASS_MEDIA_METADATA "Metadata"
|
||||
#define GST_ELEMENT_FACTORY_KLASS_MEDIA_HARDWARE "Hardware"
|
||||
|
||||
/**
|
||||
* GST_ELEMENT_FACTORY_KLASS_HARDWARE:
|
||||
*
|
||||
* Elements interacting with hardware devices should specify this classifier in
|
||||
* their metadata. You may need to put the element in "READY" state to test if
|
||||
* the hardware is present in the system.
|
||||
*
|
||||
* Since: 1.16
|
||||
*/
|
||||
#define GST_ELEMENT_FACTORY_KLASS_HARDWARE "Hardware"
|
||||
|
||||
GST_API
|
||||
gboolean gst_element_factory_list_is_type (GstElementFactory *factory,
|
||||
|
|
Loading…
Reference in a new issue