mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 05:59:10 +00:00
timestamper: Classify as Timestamper and make them RANK_MARGINAL
This way those elements can be autoplugged when needed Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3779>
This commit is contained in:
parent
095a5ba425
commit
30c73f09e3
3 changed files with 8 additions and 8 deletions
|
@ -5524,7 +5524,7 @@
|
||||||
"GInitiallyUnowned",
|
"GInitiallyUnowned",
|
||||||
"GObject"
|
"GObject"
|
||||||
],
|
],
|
||||||
"klass": "Codec/Video",
|
"klass": "Codec/Video/Timestamper",
|
||||||
"long-name": "H.264 timestamper",
|
"long-name": "H.264 timestamper",
|
||||||
"pad-templates": {
|
"pad-templates": {
|
||||||
"sink": {
|
"sink": {
|
||||||
|
@ -5538,7 +5538,7 @@
|
||||||
"presence": "always"
|
"presence": "always"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rank": "none"
|
"rank": "marginal"
|
||||||
},
|
},
|
||||||
"h265timestamper": {
|
"h265timestamper": {
|
||||||
"author": "Seungha Yang <seungha@centricular.com>",
|
"author": "Seungha Yang <seungha@centricular.com>",
|
||||||
|
@ -5551,7 +5551,7 @@
|
||||||
"GInitiallyUnowned",
|
"GInitiallyUnowned",
|
||||||
"GObject"
|
"GObject"
|
||||||
],
|
],
|
||||||
"klass": "Codec/Video",
|
"klass": "Codec/Video/Timestamper",
|
||||||
"long-name": "H.265 timestamper",
|
"long-name": "H.265 timestamper",
|
||||||
"pad-templates": {
|
"pad-templates": {
|
||||||
"sink": {
|
"sink": {
|
||||||
|
@ -5565,7 +5565,7 @@
|
||||||
"presence": "always"
|
"presence": "always"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rank": "none"
|
"rank": "marginal"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"filename": "gstcodectimestamper",
|
"filename": "gstcodectimestamper",
|
||||||
|
|
|
@ -98,7 +98,7 @@ G_DEFINE_TYPE (GstH264Timestamper,
|
||||||
gst_h264_timestamper, GST_TYPE_CODEC_TIMESTAMPER);
|
gst_h264_timestamper, GST_TYPE_CODEC_TIMESTAMPER);
|
||||||
|
|
||||||
GST_ELEMENT_REGISTER_DEFINE (h264timestamper, "h264timestamper",
|
GST_ELEMENT_REGISTER_DEFINE (h264timestamper, "h264timestamper",
|
||||||
GST_RANK_NONE, GST_TYPE_H264_TIMESTAMPER);
|
GST_RANK_MARGINAL, GST_TYPE_H264_TIMESTAMPER);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_h264_timestamper_class_init (GstH264TimestamperClass * klass)
|
gst_h264_timestamper_class_init (GstH264TimestamperClass * klass)
|
||||||
|
@ -111,7 +111,7 @@ gst_h264_timestamper_class_init (GstH264TimestamperClass * klass)
|
||||||
gst_element_class_add_static_pad_template (element_class, &srctemplate);
|
gst_element_class_add_static_pad_template (element_class, &srctemplate);
|
||||||
|
|
||||||
gst_element_class_set_static_metadata (element_class, "H.264 timestamper",
|
gst_element_class_set_static_metadata (element_class, "H.264 timestamper",
|
||||||
"Codec/Video", "Timestamp H.264 streams",
|
"Codec/Video/Timestamper", "Timestamp H.264 streams",
|
||||||
"Seungha Yang <seungha@centricular.com>");
|
"Seungha Yang <seungha@centricular.com>");
|
||||||
|
|
||||||
timestamper_class->start = GST_DEBUG_FUNCPTR (gst_h264_timestamper_start);
|
timestamper_class->start = GST_DEBUG_FUNCPTR (gst_h264_timestamper_start);
|
||||||
|
|
|
@ -98,7 +98,7 @@ G_DEFINE_TYPE (GstH265Timestamper,
|
||||||
gst_h265_timestamper, GST_TYPE_CODEC_TIMESTAMPER);
|
gst_h265_timestamper, GST_TYPE_CODEC_TIMESTAMPER);
|
||||||
|
|
||||||
GST_ELEMENT_REGISTER_DEFINE (h265timestamper, "h265timestamper",
|
GST_ELEMENT_REGISTER_DEFINE (h265timestamper, "h265timestamper",
|
||||||
GST_RANK_NONE, GST_TYPE_H265_TIMESTAMPER);
|
GST_RANK_MARGINAL, GST_TYPE_H265_TIMESTAMPER);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gst_h265_timestamper_class_init (GstH265TimestamperClass * klass)
|
gst_h265_timestamper_class_init (GstH265TimestamperClass * klass)
|
||||||
|
@ -111,7 +111,7 @@ gst_h265_timestamper_class_init (GstH265TimestamperClass * klass)
|
||||||
gst_element_class_add_static_pad_template (element_class, &srctemplate);
|
gst_element_class_add_static_pad_template (element_class, &srctemplate);
|
||||||
|
|
||||||
gst_element_class_set_static_metadata (element_class, "H.265 timestamper",
|
gst_element_class_set_static_metadata (element_class, "H.265 timestamper",
|
||||||
"Codec/Video", "Timestamp H.265 streams",
|
"Codec/Video/Timestamper", "Timestamp H.265 streams",
|
||||||
"Seungha Yang <seungha@centricular.com>");
|
"Seungha Yang <seungha@centricular.com>");
|
||||||
|
|
||||||
timestamper_class->start = GST_DEBUG_FUNCPTR (gst_h265_timestamper_start);
|
timestamper_class->start = GST_DEBUG_FUNCPTR (gst_h265_timestamper_start);
|
||||||
|
|
Loading…
Reference in a new issue