[Live-devel] some problems with ByteStreamMultiFileSource

Karlov Andrey kan at pisem.net
Mon Sep 10 23:39:38 PDT 2007


 >OK, try adding the following, after the call to "fread()" (line 138)
 >in "ByteStreamFileSource.cpp":
 >	if (fFrameSize == 0) {
 >		handleClosure(this);
 >		return;
 >	}
 >
 >Please let us know if that works for you.  (If so, I'll add it to the
 >next source code release.)


I think this code more suitable, it's work fine then TS file has not 
multiple of 188 bytes.

if (fFrameSize < 188) {
	handleClosure(this);
         return;
}


More information about the live-devel mailing list