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:
Arun Raghavan 2015-01-21 23:35:55 +05:30 committed by Arun Raghavan
parent 1b2d74728c
commit 561cab9003

View file

@ -237,6 +237,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
G_DEFINE_TYPE_WITH_CODE (GstOpenh264Enc, gst_openh264enc,
GST_TYPE_VIDEO_ENCODER,
G_IMPLEMENT_INTERFACE (GST_TYPE_PRESET, NULL);
GST_DEBUG_CATEGORY_INIT (gst_openh264enc_debug_category, "openh264enc", 0,
"debug category for openh264enc element"));