Help:streaming task paused, reason not-negotiated

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Help:streaming task paused, reason not-negotiated

wangzg@hikvision.com
 
Dear sirs,
       I have encounted a problem when i tried to write a gstreamer plugin supporting my specical file format, the attached is my code.
       First, i get stream data from file src;then i decode the data using my STREAMPROC_XX lib; if i get a yuv frame, i negotiate with the peer pad, finally i push the frame.
  But i always get an err (-4) from the fret = gst_pad_push (dec->srcpad, outbuf); code, i check the code carefully, but i don't solve it, so i need your help, many thanks.
 

2011-02-23

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

gsthikdecoder.h (3K) Download Attachment
gsthikdecoder.c (22K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Help:streaming task paused, reason not-negotiated

Sudarshan Bisht
This means that you are not setting proper caps to outbuf what you are pushing to the next element. Probably take a look at any video decoder plugin's source code for an example.  


 
2011/2/23 [hidden email] <[hidden email]>
 
Dear sirs,
       I have encounted a problem when i tried to write a gstreamer plugin supporting my specical file format, the attached is my code.
       First, i get stream data from file src;then i decode the data using my STREAMPROC_XX lib; if i get a yuv frame, i negotiate with the peer pad, finally i push the frame.
  But i always get an err (-4) from the fret = gst_pad_push (dec->srcpad, outbuf); code, i check the code carefully, but i don't solve it, so i need your help, many thanks.
 

2011-02-23

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




--
Regards,

Sudarshan Bisht

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel