[gst-devel] gstreamer- video-pgm
Thijs Vermeir
thijsvermeir at gmail.com
Thu Jan 15 10:58:06 CET 2009
Hi,
On Thu, Jan 15, 2009 at 12:40:47PM +0530, vaisakh.n wrote:
> I was trying buil an application to play " mpg " file
>
> so that in program i created elements
> are ... filesrc location=f1.mpg , mpegdemux, mpeg2dec , xvimagesink
>
> are the elements i created .. by using gst_element_factory_make ("", "");
> and linked the elements like this .....
> if(! gst_element_link_many(Source,MPG_Demux, MPG_Decod,Video_Sink ,NULL) )
> {
> /* but its goes here */
> /* error in linking * /
> }
>
> i found that error is in linking in between MPG_Demux and MPG_Decod ..
> why its so???
Demuxers have most of the time dynamic pads. You need to link them in a
callback function and not with gst_element_link(_many), like in the
hello world example [1].
Gr,
Thijs
[1] http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-helloworld.html
>
> help me
>
> thanks in advance
>
>
>
> ***** Confidentiality Statement/Disclaimer *****
>
> This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt.
> The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message.
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list