projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b2d747
)
openh264: Implement the preset interface
author
Arun Raghavan
<arun@centricular.com>
Wed, 21 Jan 2015 18:05:55 +0000
(23:35 +0530)
committer
Arun Raghavan
<git@arunraghavan.net>
Thu, 22 Jan 2015 05:37:49 +0000
(11:07 +0530)
Will be useful when we want to set presets on the encoder via encodebin
or such.
ext/openh264/gstopenh264enc.cpp
patch
|
blob
|
history
diff --git
a/ext/openh264/gstopenh264enc.cpp
b/ext/openh264/gstopenh264enc.cpp
index
7b00bdf
..
ebbe9b4
100644
(file)
--- a/
ext/openh264/gstopenh264enc.cpp
+++ b/
ext/openh264/gstopenh264enc.cpp
@@
-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"));