Re: [Zapping-misc] Parse raw vbi data
Status: Alpha
Brought to you by:
mschimek
From: anshul <ans...@gm...> - 2015-09-22 10:21:43
|
*I solved it*, It was an error on my part, I destroyed rd after receiving slice for first time. but then I realized while debugging that Rd should be destroyed only when you are done decoding. and rd has very no relation to each slice. On Tuesday 22 September 2015 03:26 PM, anshul wrote: > hello, > > I am trying to parse raw vbi dumped from GXF file. > > What I have done so far? > > Step 1) I created a local structure of vbi_raw_decoder > > Step 2) Initialized decoder > > vbi_raw_decoder_init (&rd); > > Step3) Then Filled mine vbi specification in rd structure, like > scanning line and sampling format > > > Step 4) Calledvbi_raw_decode with initialized rd. > > Problem: I get seg-fault while decode, and that is because > vbi_raw_decode assume that I have initialized pattern inside rd > structure. so my problem is that I dont know how to initalize rd->pattern > can any point me with some working example where patter would be > initalized and I get the information of how it has to be done. > > I have not added my complete source code which use this library and > dump file of vbi. > but if it would help then I can attach or keep it on shared drive as > you wish. > > Disclaimer: I am using this library first time, so dont know about > rules and regulation of this mailing list > please pardon me and correct me if this is not the way to communicate. > > Thanks for this wonderful library > Anshul > |