Hi,<br>
I have written a png decoder plugin with sink as capabilities imge/png and src with capabilities GST_VIDEO_CAPS_RGB.<br>The decoder outputs data is raw RGB interleaved data.<br>
<br>
I have set the caps as likes.(Input stream i used is having bpp = 24 and depth = 24)<br>
caps = gst_caps_new_simple ("video/x-raw-rgb",<br>
"bpp", G_TYPE_INT, 24,
<br> "width",
G_TYPE_INT,filter->pngConfPar.u32Width,<br><div id=":13s">
"height", G_TYPE_INT,filter->pngConfPar.u32Height,<br> "framerate", GST_TYPE_FRACTION, 0,1, NULL);<br><br>
templ = gst_static_pad_template_get (&src_factory);<br>
<br>
res = gst_caps_intersect (caps, gst_pad_template_get_caps (templ));<br>
<br>
ret = gst_pad_set_caps (filter->srcpad, res);<br>
<br>
When i am trying to diplay the image using gst launch<br>
<br>
gst-launch filesrc location=1.png ! MY_PNG_Decoder ! xvimagesink<br>
<br>
I am getting the return type of gst_pad_push as GST_FLOW_NOT_NEGOTIATED.<br>
<br>
Can any one say what could be the problem?<br>
How to display the png image and which plugin should i need to use for sink?<br><br><br>Regards,<br>Vijay P<br>
</div>