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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel