[gst-devel] 3gp demux plugin working on PC but not on target

Rahul Verma rahul.verma at sasken.com
Tue Jan 27 14:46:42 CET 2009


Hi,

>You should be able to push a buffer that you have pulled from
>upstream. If you can't, then presumably you're getting your
>refcounting wrong somewhere (or there's some other problem; hard to
>say...). When you just say "got a crash" it's not too helpful - you
>need to at least find out where it's crashing, and why.

Thank you again Mike. As soon as you said refcount, I realised where my mistake was. First was I was doing a unref of the buffer when it was not required. Second, and the more grave mistake was, I was not setting the CAPS for the buffer. I was under the impression CAPS will be taken from the pads, but I was wrong. Now gst_pad_pull_range works brilliantly for me, without any memcpy or delay.

Thanks again.

Rahul Verma
SASKEN BUSINESS DISCLAIMER
-------------------------
This message may contain confidential, proprietary or legally privileged information. In 
case you are not the original intended Recipient of the message, you must not, directly or 
indirectly, use, Disclose, distribute, print, or copy any part of this message and you are 
requested to delete it and inform the sender. Any views expressed in this message are 
those of the individual sender unless otherwise stated. Nothing contained in this message 
shall be construed as an offer or acceptance of any offer by Sasken Communication 
Technologies Limited ("Sasken") unless sent with that express intent and with due 
authority of Sasken. Sasken has taken enough precautions to prevent the spread of 
viruses. However the company accepts no liability for any damage caused by any virus 
transmitted by this email





More information about the gstreamer-devel mailing list