equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
8 * |
8 * |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: StreamInformation Itf Adaptation Source |
15 * |
15 * |
16 */ |
16 */ |
17 |
|
18 |
17 |
19 #include "xadebug.h" |
18 #include "xadebug.h" |
20 #include "xathreadsafety.h" |
19 #include "xathreadsafety.h" |
21 #include "xaadaptationgst.h" |
20 #include "xaadaptationgst.h" |
22 #include "xamediaplayeradaptctx.h" |
21 #include "xamediaplayeradaptctx.h" |
76 DEBUG_API("-<XAStreamInformationItfAdapt_QueryMediaContainerInformation"); |
75 DEBUG_API("-<XAStreamInformationItfAdapt_QueryMediaContainerInformation"); |
77 return XA_RESULT_PARAMETER_INVALID; |
76 return XA_RESULT_PARAMETER_INVALID; |
78 } |
77 } |
79 |
78 |
80 /* Get media container type */ |
79 /* Get media container type */ |
81 DEBUG_INFO_A2("Adaptation Context- ID is [%u] Extended ID[%u]", |
80 DEBUG_INFO_A1("Adaptation Context- ID is [%u] ", |
82 (unsigned int)adaptCtx->ctxId, |
81 (unsigned int)adaptCtx->ctxId ); |
83 (unsigned int)((XAMediaPlayerAdaptationCtx*) adaptCtx)->extendedCtxId); |
|
84 |
82 |
85 /* Initialize to unspecified */ |
83 /* Initialize to unspecified */ |
86 *containerType = XA_CONTAINERTYPE_UNSPECIFIED; |
84 *containerType = XA_CONTAINERTYPE_UNSPECIFIED; |
87 xaDataSource = ((XAMediaPlayerAdaptationCtx*) adaptCtx)->xaSource; |
85 xaDataSource = ((XAMediaPlayerAdaptationCtx*) adaptCtx)->xaSource; |
88 /* DEBUG_INFO("Obtained handle to xaDataSource");*/ |
86 /* DEBUG_INFO("Obtained handle to xaDataSource");*/ |