> This :
>    // Fill in the PES PTS (from our SCR):
>   fInputBuffer[9] = 0x20|(fSCR.highBit<<3)|(fSCR.remainingBits>>29)|0x01;
>   fInputBuffer[10] = fSCR.remainingBits>>22;
>   fInputBuffer[11] = (fSCR.remainingBits>>14)|0x01;
>   fInputBuffer[12] = fSCR.remainingBits>>7;
>   fInputBuffer[13] = (fSCR.remainingBits<<1)|0x01;
>  
> Had to change to this:
>  
> // Fill in the PES PTS (from our SCR):
>   fInputBuffer[9] = 0x30|(fSCR.highBit<<3)|(fSCR.remainingBits>>29)|0x01;
>   fInputBuffer[10] = fSCR.remainingBits>>22;
>   fInputBuffer[11] = (fSCR.remainingBits>>14)|0x01;
>   fInputBuffer[12] = fSCR.remainingBits>>7;
>   fInputBuffer[13] = (fSCR.remainingBits<<1)|0x01;
>  
>     // Fill in the PES DTS (from our SCR):
>   fInputBuffer[14] = 0x10|(fSCR.highBit<<3)|(fSCR.remainingBits>>29)|0x01;
>   fInputBuffer[15] = fSCR.remainingBits>>22;
>   fInputBuffer[16] = (fSCR.remainingBits>>14)|0x01;
>   fInputBuffer[17] = fSCR.remainingBits>>7;
>   fInputBuffer[18] = (fSCR.remainingBits<<1)|0x01;

Was that the only change that you needed to make to our code in order to get 
your TS file to work?


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