<div>Hi All, </div><div><br></div>I am writing a decoder plugin to support multiple codecs which I want to be picked up by playbin2 over the other available decoders when a supported stream is being played. The plugin can support only one codec type in one instance. For this purpose I want to find out the codec type of the stream before I call the base_init, class_init, _init functions in the plugin so that I could . <div>
<br></div><div>To find the stream type before the plugin is initialized I have registered my own typefind function which checks the stream for FOURCC codes. I need to pass this information to the plugin structure before the _init() function is called. Is there some mechanism to do so?<div>
<br></div><div>I want to pass data between my registered typefind function and the _init() function of the plugin</div><div><br></div><div>Thanking you, </div><div>Parth Mehta</div></div>