[Live-devel] fMaxSize variable

Roberto Nappi r_nappi at yahoo.it
Wed May 12 13:49:22 PDT 2004


Hi,
I saw that fMaxSize changes in
ByteStreamFileSource.cpp:
...
if (fPreferredFrameSize > 0 && fPreferredFrameSize <
fMaxSize) {
    fMaxSize = fPreferredFrameSize;
  }
  printf("fMaxSize = %d\n",fMaxSize); //RR //
  fFrameSize = fread(fTo, 1, fMaxSize, fFid);
...
when preferredFrameSize=0 in ByteStreamFileSource.hh.

When I stream, printf's answer is:

Beginning streaming...
Beginning to read from file...
fMaxSize = 150000
fMaxSize = 149246
fMaxSize = 149895
fMaxSize = 149951
fMaxSize = 149881
fMaxSize = 149845
...done reading from file

Why does fMaxSize change?

Where does it change?

Many thanks in advance for your support. Rona.


	

	
		
____________________________________________________________
Yahoo! Companion - Scarica gratis la toolbar di Ricerca di Yahoo! 
http://companion.yahoo.it


More information about the live-devel mailing list