how to send "custom" event tag (gboxed type) through rtp ?

Sebastian Dröge sebastian at centricular.com
Thu Aug 13 10:06:37 PDT 2015


On Do, 2015-08-13 at 09:53 -0700, Deven wrote:
> Hello,
> 
> Thank you for your answer !
> I see your function but I don't know how to implement the serialize 
> and
> deserialize functions even if I read the gstvalue.c file
> (http://lampiao.lsc.ic.unicamp.br/~brunocardoso/guadec13/static/gstre
> amer/2013-08-02-1/report-NKfcMb.html)
> 
> For test, my g_box_type is a structure containing only 2 fields of 
> type
> integer.
> Did you know how to implement those functions for my box type ?

http://cgit.freedesktop.org/gstreamer/gstreamer/tree/gst/gstvalue.c#n11
56

Just use a different string format to be able to distinguish your type
from int ranges, etc.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150813/6b7ab4d7/attachment-0001.sig>


More information about the gstreamer-devel mailing list