AW: undefined reference

Bernhard Graaf bernhard.graaf at gmx.de
Sat Dec 29 02:49:57 PST 2012


Thanks Tim,

work fine. Using gst_caps_to_string () instead of gst_caps_get_mime () to get the capabilities works.

Have a great 2013!
Bernhard

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org [mailto:gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org] Im Auftrag von Tim-Philipp Müller
Gesendet: Freitag, 28. Dezember 2012 23:13
An: gstreamer-devel at lists.freedesktop.org
Betreff: Re: undefined reference

On Fri, 2012-12-28 at 19:46 +0100, Bernhard Graaf wrote:

Hi,

> I think a small problem with gstreamer 1.0:
> 
> I’ve tried to read the capabilities of dynamic pads using the 
> following functions:
> 
> -          gst_pad_get_caps()

Use gst_pad_query_caps (pad, NULL);


> -          gst_caps_get_name()

This still exists and should not cause any problems.

> -          gst_caps_get_mime()

This has not existed in GStreamer for a very long time (not in 0.10 anyway).

Cheers
 -Tim

> But my compiler tells me ‘undefined reference to ..’ all of this three 
> functions.
> 
> All other function are located without any problems (bigger app). The 
> <gst/gst.h> is included and the compiler and linker setting are made.
> Something different in 1.0? Some other headerfiles be needed?



_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list