equal
deleted
inserted
replaced
271 // ----------------------------------------------------------------------------- |
271 // ----------------------------------------------------------------------------- |
272 EXPORT_C TBool TGlxMedia::IsDrmProtected() const |
272 EXPORT_C TBool TGlxMedia::IsDrmProtected() const |
273 { |
273 { |
274 TRACER("TGlxMedia::IsDrmProtected"); |
274 TRACER("TGlxMedia::IsDrmProtected"); |
275 |
275 |
276 TBool isDrmProtected = ETrue; |
276 TBool isDrmProtected = EFalse; |
277 if ( iItem ) |
277 if ( iItem ) |
278 { |
278 { |
279 // ignore return value. Failure leaves isDrmProtected unchanged as ETrue |
279 // ignore return value. Failure leaves isDrmProtected unchanged as ETrue |
280 iItem->GetValueTObject( isDrmProtected, KMPXMediaDrmProtected ); |
280 iItem->GetValueTObject( isDrmProtected, KMPXMediaDrmProtected ); |
281 } |
281 } |