mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
Moved clock set/get to class functions.
Original commit message from CVS: Moved clock set/get to class functions.
This commit is contained in:
parent
9a34aed40e
commit
8ea113adb1
1 changed files with 1 additions and 1 deletions
|
@ -155,6 +155,7 @@ gst_v4lmjpegsink_class_init (GstV4lMjpegSinkClass *klass)
|
|||
|
||||
|
||||
gstelement_class->change_state = gst_v4lmjpegsink_change_state;
|
||||
gstelement_class->set_clock = gst_v4lmjpegsink_set_clock;
|
||||
}
|
||||
|
||||
|
||||
|
@ -168,7 +169,6 @@ gst_v4lmjpegsink_init (GstV4lMjpegSink *v4lmjpegsink)
|
|||
gst_pad_set_connect_function (v4lmjpegsink->sinkpad, gst_v4lmjpegsink_sinkconnect);
|
||||
|
||||
v4lmjpegsink->clock = NULL;
|
||||
GST_ELEMENT (v4lmjpegsink)->setclockfunc = gst_v4lmjpegsink_set_clock;
|
||||
|
||||
v4lmjpegsink->width = -1;
|
||||
v4lmjpegsink->height = -1;
|
||||
|
|
Loading…
Reference in a new issue