[Live-devel] StreamReplicator with FileSink problem

Bruno Abreu bruno.abreu at livingdata.pt
Wed Jan 23 00:12:27 PST 2013


On 01/22/2013 09:51 PM, Ross Finlayson wrote:
> Yes, I agree.  In the next version of the software, this piece of code -
> in "FileSink::afterGettingFrame()" - will become:
>
>    if (fOutFid == NULL || fflush(fOutFid) == EOF) {
>      // The output file has closed.  Handle this the same way as if
> the input source had closed:
>      if (fSource != NULL) fSource->stopGettingFrames();
>      onSourceClosure(this);
>      return;
>    }

Great! Thanks.
We'll test this today.

-- 
Living Data - Sistemas de Informação e Apoio à Decisão, Lda.

LxFactory - Rua Rodrigues de Faria, 103,
edifício I - 4º piso                  Phone:  +351 213622163
1300-501 LISBOA                       Fax:    +351 213622165
Portugal                              URL: www.livingdata.pt


More information about the live-devel mailing list