mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
pnm: make element details a bit more descriptive
This commit is contained in:
parent
4de86d4d12
commit
b2ce6fe6d5
2 changed files with 8 additions and 11 deletions
|
@ -42,10 +42,6 @@
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
static GstElementDetails pnmdec_details = GST_ELEMENT_DETAILS ("PNM converter",
|
|
||||||
"Codec/Decoder/Image", "Decodes PNM format",
|
|
||||||
"Lutz Mueller <lutz@users.sourceforge.net>");
|
|
||||||
|
|
||||||
static GstElementClass *parent_class;
|
static GstElementClass *parent_class;
|
||||||
|
|
||||||
static GstStaticPadTemplate gst_pnmdec_src_pad_template =
|
static GstStaticPadTemplate gst_pnmdec_src_pad_template =
|
||||||
|
@ -319,7 +315,10 @@ gst_pnmdec_base_init (gpointer g_class)
|
||||||
gst_static_pad_template_get (&gst_pnmdec_sink_pad_template));
|
gst_static_pad_template_get (&gst_pnmdec_sink_pad_template));
|
||||||
gst_element_class_add_pad_template (element_class,
|
gst_element_class_add_pad_template (element_class,
|
||||||
gst_static_pad_template_get (&gst_pnmdec_src_pad_template));
|
gst_static_pad_template_get (&gst_pnmdec_src_pad_template));
|
||||||
gst_element_class_set_details (element_class, &pnmdec_details);
|
gst_element_class_set_details_simple (element_class, "PNM image decoder",
|
||||||
|
"Codec/Decoder/Image",
|
||||||
|
"Decodes images in portable pixmap/graymap/bitmap/anymamp (PNM) format",
|
||||||
|
"Lutz Mueller <lutz@users.sourceforge.net>");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -51,11 +51,6 @@ enum
|
||||||
/* Add here. */
|
/* Add here. */
|
||||||
};
|
};
|
||||||
|
|
||||||
static GstElementDetails pnmenc_details =
|
|
||||||
GST_ELEMENT_DETAILS ("PNM converter", "Codec/Encoder/Image",
|
|
||||||
"Encodes in PNM format",
|
|
||||||
"Lutz Mueller <lutz@users.sourceforge.net>");
|
|
||||||
|
|
||||||
static GstStaticPadTemplate sink_pad_template =
|
static GstStaticPadTemplate sink_pad_template =
|
||||||
GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS,
|
GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB "; "
|
GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB "; "
|
||||||
|
@ -242,7 +237,10 @@ gst_pnmenc_base_init (gpointer g_class)
|
||||||
gst_static_pad_template_get (&sink_pad_template));
|
gst_static_pad_template_get (&sink_pad_template));
|
||||||
gst_element_class_add_pad_template (element_class,
|
gst_element_class_add_pad_template (element_class,
|
||||||
gst_static_pad_template_get (&src_pad_template));
|
gst_static_pad_template_get (&src_pad_template));
|
||||||
gst_element_class_set_details (element_class, &pnmenc_details);
|
gst_element_class_set_details_simple (element_class, "PNM image encoder",
|
||||||
|
"Codec/Encoder/Image",
|
||||||
|
"Encodes images into portable pixmap or graymap (PNM) format",
|
||||||
|
"Lutz Mueller <lutz@users.sourceforge.net>");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue