Re: [Live-devel] Try-catch in parsers

2008-10-30 Thread Ross Finlayson
1.Why the parsers in the Live libarary are working with try and catch? When a parser runs into the end of its input buffer (which could happen anywhere within the parsing code), it needs to temporarily stop parsing, request new input data, and then return to the event loop. C++ language exce

[Live-devel] Try-catch in parsers

2008-10-30 Thread Yedidia Amit
Hi Ross, All 1.Why the parsers in the Live libarary are working with try and catch? 2. If I am implementing DeviceSouce which deliver H264 nals threw socket (as you recommended), how should I know which nal is the last NAL fo the AccessUnit (last nal in frame)? Regards, Amit Yedidia Elbit Sys