openh264: Implement the preset interface
Will be useful when we want to set presets on the encoder via encodebin or such.
This commit is contained in:
parent
1b2d74728c
commit
561cab9003
@ -237,6 +237,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
|
|||||||
|
|
||||||
G_DEFINE_TYPE_WITH_CODE (GstOpenh264Enc, gst_openh264enc,
|
G_DEFINE_TYPE_WITH_CODE (GstOpenh264Enc, gst_openh264enc,
|
||||||
GST_TYPE_VIDEO_ENCODER,
|
GST_TYPE_VIDEO_ENCODER,
|
||||||
|
G_IMPLEMENT_INTERFACE (GST_TYPE_PRESET, NULL);
|
||||||
GST_DEBUG_CATEGORY_INIT (gst_openh264enc_debug_category, "openh264enc", 0,
|
GST_DEBUG_CATEGORY_INIT (gst_openh264enc_debug_category, "openh264enc", 0,
|
||||||
"debug category for openh264enc element"));
|
"debug category for openh264enc element"));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user