ui/uiengine/medialists/src/glxmedia.cpp
changeset 49 f291796e213d
parent 23 74c9f037fd5d
child 52 a3a4c0de738e
equal deleted inserted replaced
48:d0b4e67b3a60 49:f291796e213d
   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         }