[gst-devel] re: [gst-cvs] fcarvalho gst-plugins-good: gst-plugins-good/ gst-plugins-good/gst/rtp/
Andy Wingo
wingo at pobox.com
Wed Oct 26 02:30:59 CEST 2005
Hey dude,
Your new G711 payloaders look great! One thing you might want to
consider is the use of the GST_BOILERPLATE macro, like this:
GST_BOILERPLATE (GstRtpG711Enc, gst_rtpg711enc, GstBaseRtpPayload, GST_TYPE_BASE_RTP_PAYLOAD);
That will take care of creating the _get_type function, declaring and
setting parent_class, and declaring the _base_init, _class_init, and
_init functions. Not necessary but it does make things a bit cleaner.
Cheers,
--
Andy Wingo
http://wingolog.org/
More information about the gstreamer-devel
mailing list