Facing problem in autoplugging application

Stefan Sauer ensonic at hora-obscura.de
Tue Jun 12 07:54:26 PDT 2012


On 05/28/2012 11:17 AM, shiva_mudugal wrote:
> Hi,
>
>
> I am writing a autoplugging application(one which is similar to the example
> given in gstreamer application development manual). 
>
> Steps I have followed:
>
> 1) Get a list of available factories from gstreamer registry.
> 2) Use typefind to get media type.
> 3) And the construct dynamic pipeline based on new pads created for every
> element.
You are doing that for educational purpose? Otherwise I'd recommend to
reuse playbin(2) or its parts (uridecodebin, decodebin(2))).
>
> I am trying to play a mp3 stream with my application. I am expecting open
> source "mad" decoder to get selected for play back but heaac decoder is
> getting selected. 
>
> I am using "gst_caps_intersect" api to check the matching element.   Is
> there any better way to match
> capabilities, so that my application selects right decoder.
gst_caps_intersect is the right function to see if two caps have common
structures. Without any pointers to your code, you will have to debug
this yourself.

Stefan

>
>
> Can anyone help?
>
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Facing-problem-in-autoplugging-application-tp4655118.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> 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