class derivation question

Chuck Crisler ccrisler at mutualink.net
Tue Jul 2 07:36:34 PDT 2013


Thank you. It makes sense now.


On Tue, Jul 2, 2013 at 10:31 AM, Wim Taymans <wim.taymans at gmail.com> wrote:

> On 07/02/2013 04:21 PM, Chuck Crisler wrote:
>
>> This is really a GObject question but I am sure many people on this list
>> know the answer.
>>
>> I am trying to extend the RTSP server code, so I am deriving from the
>> RTSP objects. How do I connect my derived classes to the GStreamer RTSP
>> classes up to GObject? I have read through the GObject doc but they seem to
>> assume that you are deriving from GObject (with the RTSP classes do).
>>
>
> There are plenty of examples to look at. in the RTSP server you can look
> at how rtsp-media-factory-uri.c derives from
> rtsp-media-factory.c, for example, and overrides the create_element method.
>
> There is not much other than to understand how subclassing works for
> GObject derived objects, which is explained in the
> GObject docs.
>
> Wim
>
>>
>> TIA!
>> Chuck
>>
>>
>> ______________________________**_________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.**freedesktop.org<gstreamer-devel at lists.freedesktop.org>
>> http://lists.freedesktop.org/**mailman/listinfo/gstreamer-**devel<http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>
>>
>
> ______________________________**_________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.**freedesktop.org<gstreamer-devel at lists.freedesktop.org>
> http://lists.freedesktop.org/**mailman/listinfo/gstreamer-**devel<http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130702/1553d131/attachment.html>


More information about the gstreamer-devel mailing list