equal
deleted
inserted
replaced
226 TBool CMceComCodec::Decodes( |
226 TBool CMceComCodec::Decodes( |
227 const TDesC8& aRtpmapValue, |
227 const TDesC8& aRtpmapValue, |
228 const TDesC8& /*aFmtpValue*/, |
228 const TDesC8& /*aFmtpValue*/, |
229 TBool /*aIsStrictMatch*/ ) |
229 TBool /*aIsStrictMatch*/ ) |
230 { |
230 { |
231 return aRtpmapValue.FindF( iSdpName ) == 0; |
231 // find MIME type |
|
232 TInt slashPos = aRtpmapValue.Find( _L8( "/" ) ); |
|
233 if ( slashPos != KErrNotFound ) |
|
234 { |
|
235 return aRtpmapValue.Left(slashPos).Compare( iSdpName ) == 0; |
|
236 } |
|
237 |
|
238 return aRtpmapValue.FindF(iSdpName) == 0; |
232 } |
239 } |
233 |
240 |
234 // ----------------------------------------------------------------------------- |
241 // ----------------------------------------------------------------------------- |
235 // CMceComCodec::BaseFactory |
242 // CMceComCodec::BaseFactory |
236 // ----------------------------------------------------------------------------- |
243 // ----------------------------------------------------------------------------- |