mmplugins/mmfwplugins/src/Plugin/Controller/Video/AviPlayController/srtdecoder/srtdecoder.cpp
changeset 2 5c1df44f2eed
parent 0 b8ed18f6c07b
equal deleted inserted replaced
1:fcaf4606ba4e 2:5c1df44f2eed
    87 @leave If an error occurs, the method will leave with a system-wide error code.
    87 @leave If an error occurs, the method will leave with a system-wide error code.
    88 */
    88 */
    89 void CSrtSubtitleDecoder::ConstructL()
    89 void CSrtSubtitleDecoder::ConstructL()
    90     {
    90     {
    91     iFrameParser = CSrtFrame::NewL();
    91     iFrameParser = CSrtFrame::NewL();
    92     iDecodeBuffer.Create(KSubtitleDecoderBufferLength);
    92     iDecodeBuffer.CreateL(KSubtitleDecoderBufferLength);
    93     }
    93     }
    94     
    94     
    95 EXPORT_C TInt CSrtSubtitleDecoder::CalculateSubtitleRegion(const TRect& aScreenSize, TRect& aSubtitleRegion)
    95 EXPORT_C TInt CSrtSubtitleDecoder::CalculateSubtitleRegion(const TRect& aScreenSize, TRect& aSubtitleRegion)
    96     {
    96     {
    97     // TRect::IsEmpty is not used because the following test tests the minus values.
    97     // TRect::IsEmpty is not used because the following test tests the minus values.