summaryrefslogtreecommitdiff
authorZhiqiang Han <zhiqiang.han@amlogic.com>2017-04-06 07:54:40 (GMT)
committer Zhiqiang Han <zhiqiang.han@amlogic.com>2017-04-06 07:54:40 (GMT)
commitaf9a380892d16532159fe4a1bedb46f27f4d9688 (patch)
treedb9971c0d53d74a1193b509b5d97853c16fa4691
parent319d19729d6c7bc753b0edba721d65543ef298fb (diff)
downloadtv_input-af9a380892d16532159fe4a1bedb46f27f4d9688.zip
tv_input-af9a380892d16532159fe4a1bedb46f27f4d9688.tar.gz
tv_input-af9a380892d16532159fe4a1bedb46f27f4d9688.tar.bz2
PD#141549: get the correct input
Change-Id: Ia8db82b77bfce60542c3ee482bd6b971f0296f66
Diffstat
-rw-r--r--TvPlay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TvPlay.cpp b/TvPlay.cpp
index 1d081c3..bbf2daf 100644
--- a/TvPlay.cpp
+++ b/TvPlay.cpp
@@ -86,7 +86,7 @@ int TvPlay::GetSourceConnectStatus(tv_source_input_t source_input)
int TvPlay::GetCurrentSourceInput()
{
Parcel p, r;
- p.writeInt32(SSM_READ_SOURCE_INPUT);
+ p.writeInt32(GET_CURRENT_SOURCE_INPUT_VIRTUAL);
tvSession->processCmd(p, &r);
return r.readInt32();
}