mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
sys/v4l2/gstv4l2src.c: Initialization of the debugging category should be as early as possible, moving it from _class...
Original commit message from CVS: * sys/v4l2/gstv4l2src.c: (gst_v4l2src_base_init), (gst_v4l2src_class_init): Initialization of the debugging category should be as early as possible, moving it from _class_init() to beginning of _base_init().
This commit is contained in:
parent
aab9a09310
commit
6c47f36fce
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2006-03-14 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
|
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_base_init),
|
||||||
|
(gst_v4l2src_class_init):
|
||||||
|
Initialization of the debugging category should be as early as possible,
|
||||||
|
moving it from _class_init() to beginning of _base_init().
|
||||||
|
|
||||||
2006-03-13 Tim-Philipp Müller <tim at centricular dot net>
|
2006-03-13 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* ext/taglib/gsttaglib.cc:
|
* ext/taglib/gsttaglib.cc:
|
||||||
|
|
|
@ -126,6 +126,8 @@ gst_v4l2src_base_init (gpointer g_class)
|
||||||
{
|
{
|
||||||
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (g_class);
|
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (g_class);
|
||||||
|
|
||||||
|
GST_DEBUG_CATEGORY_INIT (v4l2src_debug, "v4l2src", 0, "V4L2 source element");
|
||||||
|
|
||||||
gst_element_class_set_details (gstelement_class, &gst_v4l2src_details);
|
gst_element_class_set_details (gstelement_class, &gst_v4l2src_details);
|
||||||
|
|
||||||
gst_element_class_add_pad_template
|
gst_element_class_add_pad_template
|
||||||
|
@ -155,8 +157,6 @@ gst_v4l2src_class_init (GstV4l2SrcClass * klass)
|
||||||
"or adapt FPS to suit the number of frabbed frames",
|
"or adapt FPS to suit the number of frabbed frames",
|
||||||
TRUE, G_PARAM_READWRITE));
|
TRUE, G_PARAM_READWRITE));
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_INIT (v4l2src_debug, "v4l2src", 0, "V4L2 source element");
|
|
||||||
|
|
||||||
basesrc_class->get_caps = gst_v4l2src_get_caps;
|
basesrc_class->get_caps = gst_v4l2src_get_caps;
|
||||||
basesrc_class->set_caps = gst_v4l2src_set_caps;
|
basesrc_class->set_caps = gst_v4l2src_set_caps;
|
||||||
basesrc_class->start = gst_v4l2src_start;
|
basesrc_class->start = gst_v4l2src_start;
|
||||||
|
|
Loading…
Reference in a new issue