[gst-devel] POSIX thread usage in gstreamer

ensonic ensonic at hora-obscura.de
Fri Nov 17 15:24:31 CET 2006


On 2:46:38 pm 17/11/2006 "Bhavana Bhat" <bhavana.bhat at gmail.com> wrote:
> Hi
> I have a doubt on gstreamer. Is it possible to use posix threads
> within gstreamer?
GStreamer uses glib threads.

> Is it mandatory that a loop function has to be used for data transfer?
> If we create our own POSIX threads would it be OK? When I tried doing
> this the use case worked. I was able to play a file. But it gave the
> following errors. Could you please let me know if there is any problem
> with what I have done. How can I remove these errors?

start you application in gdb
G_DEBUG="fatal_criticals" gdb ./myapp
and run. When gdb halts print the backtrace and fix the application.

> (gst-launch-0.10:12908): GStreamer-CRITICAL **: gst_pad_set_caps:
> assertion `GST_IS_PAD (pad)' failed
> (gst-launch-0.10:12908): GStreamer-CRITICAL **: gst_pad_push_event:
> assertion `GST_IS_PAD (pad)' failed
> (gst-launch-0.10:12908): GStreamer-CRITICAL **: gst_pad_pull_range:
> assertion `GST_IS_PAD (pad)' failed
> (gst-launch-0.10:12908): GStreamer-CRITICAL **: gst_pad_push_event:
> assertion `GST_IS_PAD (pad)' failed
> Thanks in advance for your time,
> Bhavana
> ----------------------------------------------------------------------
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your opinions on IT & business topics through brief surveys -
> and earn cash http://www.techsay.com/default.php?page=join.php&p=sourc
> eforge&CID=DEVDEV
> _______________________________________________
> 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