mmplugins/mmfwplugins/src/Plugin/Controller/Video/AviPlayController/srtdecoder/srtdecoder.cpp
equal
deleted
inserted
replaced
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. |