decodebin2 does not load wma plugin

mohid mohideensaad at gmail.com
Mon Aug 22 05:34:18 PDT 2011


Hi all

I have a wma parser and a decode plugin.
wma paser is having a typefind function.

When I try to play a wma file with totem player

the decodebin finds the typefind function and loads wmaparser plugin.
Then it does not load the wmadecoder plugin.
Rather it creates another wmaparser1 plugin itself and fails the connection.

Please help me how to load the wmadecoder plugin next to my wmaparser
plugin.

The caps are
Type find:
"audio/x-wma"

wmaparser:
sink:
GST_STATIC_CAPS ("audio/x-wma")

src:
GST_STATIC_CAPS ( "audio/x-wma, "
"rate = (int) [ 1, MAX ], "
    "encopt = (int) [ 1, MAX ], "
    "bitrate = (int) [ 1, MAX ], "
    "blockalign = (int) [ 1, MAX ], "
    "formattag = (int) [ 1, MAX ], "
    "channelmask = (int) [ 1, MAX ], "
    "channels = (int) [ 1, MAX ], "
    "endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, "
    "width = (int) 16, "
    "depth = (int) [ 1, 16 ], "
    "signed = (boolean) { true, false }")

wmadecoder:
sink:
GST_STATIC_CAPS ("audio/x-wma, "
"rate = (int) [ 1, MAX ], "
    "encopt = (int) [ 1, MAX ], "
    "bitrate = (int) [ 1, MAX ], "
    "blockalign = (int) [ 1, MAX ], "
    "formattag = (int) [ 1, MAX ], "
    "channelmask = (int) [ 1, MAX ], "
    "channels = (int) [ 1, MAX ], "
    "endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, "
    "width = (int) 16, "
    "depth = (int) [ 1, 16 ], "
    "signed = (boolean) { true, false }")

src:
GST_STATIC_CAPS ("audio/x-raw-int, "
    "rate = (int) [ 1, MAX ], "
    "channels = (int) [ 1, MAX ], "
    "endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, "
    "width = (int) 16, "
    "depth = (int) [ 1, 16 ], "
    "signed = (boolean) { true, false }")

Please help in this regard

Regards,
Mohid

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/decodebin2-does-not-load-wma-plugin-tp3759978p3759978.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list