[gst-devel] Can i use global variables in plug-in code

irfanshaikh irfanshaikh at tataelxsi.co.in
Tue Oct 28 12:15:16 CET 2008


Hi all,

        Since chain function is called repeatedly. I am using Some GstBuffer
X . I am incrementing the position within "X" . So next time when i call
_chain() my data needs to be processed from incremented position of "X".
        Can i use Gstbuffer only as a global variable instead declaring in
_chain().


        And also tell me whether in general can i use any global variable in
gstreamer plug-in code ??


Regards,
Irfan




The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.




More information about the gstreamer-devel mailing list