mmlibs/mmfw/src/Client/Video/mediaclientvideodisplay.cpp
changeset 13 efebd1779a59
parent 0 40261b775718
child 40 f429a0a2075b
equal deleted inserted replaced
0:40261b775718 13:efebd1779a59
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    73 	}
    73 	}
    74 
    74 
    75 
    75 
    76 void CMediaClientVideoDisplay::ConstructL(TInt aDisplayId)
    76 void CMediaClientVideoDisplay::ConstructL(TInt aDisplayId)
    77 	{
    77 	{
    78 	iBody = CMediaClientVideoDisplayBody::NewL(aDisplayId);
    78 	iBody = CMediaClientVideoDisplayBody::NewL(aDisplayId, ETrue);
    79 	}
    79 	}
    80 
    80 
    81 void CMediaClientVideoDisplay::ConstructL(TInt aDisplayId, const TSurfaceId& aSurfaceId, const TRect& aCropRect, TVideoAspectRatio aAspectRatio)
    81 void CMediaClientVideoDisplay::ConstructL(TInt aDisplayId, const TSurfaceId& aSurfaceId, const TRect& aCropRect, TVideoAspectRatio aAspectRatio)
    82 	{
    82 	{
    83 	iBody = CMediaClientVideoDisplayBody::NewL(aDisplayId, aSurfaceId, aCropRect, aAspectRatio);
    83 	iBody = CMediaClientVideoDisplayBody::NewL(aDisplayId, aSurfaceId, aCropRect, aAspectRatio, ETrue);
    84 	}
    84 	}
    85 
    85 
    86 /**
    86 /**
    87 Destructor.
    87 Destructor.
    88 
    88