newbie: need help create/compile a source element

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

newbie: need help create/compile a source element

lzdn
I am a newbie to gstreamer/gtk (linux as well :().
I ran into some trouble with creating a source element and would appreciate any help/suggestion.

A. First I downloaded gst-template from CVS and tried to make_element/build an element as Plugin Writer's Guide mentioned. It seems worked by gst-inspect.

B. Then I tried to use my own source, which is almost completely duplicated from fdsrc.

B-1. First time, I kept the 'XXX_LIBADD' in Makefile.am as GST_LIBS.(autogen-make install, no error occured)
I tried gst-inspect, and it complained about "undefined symbol: gst_push_src_get_type()".

B-2. I thought that I should also link "base", so I appended $(GST_BASE_LIBS) to 'XXX_LIBADD'.
(still, autogen-make install, no error occured)
I tried gst-inspect, and found no error message, but the my plugin does not appear in the list either.
It seems that my .so got completely ignored(it does exist there).
What could be possible reason for that?

B-3. I tried a few more times, and the symptom seems stable.

So I mainly have two questions:
1. (B-2) How to check the reason why my .so is ignored?
2. Is there any (simple) template/example for source/sink element exists?



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel