>while(true)
{
       fWatchVariable = 0;
       dummyTask(NULL); // 100ms
       env->taskScheduler().doEventLoop(&fWatchVariable);
       if (fWatchVariable = 1)
This statement looks very strange: is it still assignment instead of comparison in your code? What is it supposed to be?

Oh wow - I completely missed that.  You're right.

Also, later...

 >             if (!mP4LiveSms->mpeg4LiveSource != NULL)

The initial "!" should not be there.

Your code should be:

        while (1) {
                fWatchVariable = 0;
                dummyTask(NULL); // 100ms
                env->taskScheduler().doEventLoop(&fWatchVariable);
                if (mP4LiveSms->mpeg4LiveSource != NULL) {
                        mP4LiveSms->mpeg4LiveSource->deliverFrame();
                }
        }
--

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to