[gst-devel] Newbie question on plugins
John Darrington
jmd at csse.uwa.edu.au
Sun Apr 10 20:44:09 CEST 2005
Hi,
I'm trying to write a video plugin.
So I took the template from
anoncvs at cvs.freedesktop.org:/cvs/gstreamer
and run it thought this command
gst-launch-0.8 xvideosrc ! myplugin ! xvimagesink
No problem.
Now I want to customise it, so I change the line
GST_STATIC_CAPS("ANY")
to read
GST_STATIC_CAPS ("video/x-raw-rgb, "
"framerate = (int) [ 1, 100 ], "
"width = (int) [ 1, 2147483647 ], "
"height = (int) [ 1, 2147483647 ] ")
But now when I try to run the pipeline, I get
erroneous pipeline: could not link videotestsrc0 to testplugin0
What am I doing wrong?
--
John Darrington jmd at csse.uwa.edu.au
University of Western Australia http://www.csse.uwa.edu.au/~jmd
PhD Candidate +61 8 6488 1945
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20050410/26e35787/attachment.pgp>
More information about the gstreamer-devel
mailing list