author | Zhiqiang Han <zhiqiang.han@amlogic.com> | 2015-10-10 08:00:34 (GMT) |
---|---|---|
committer | Zhiqiang Han <zhiqiang.han@amlogic.com> | 2015-10-10 08:01:57 (GMT) |
commit | a646807553e622774861f42e2fad716f91826dab (patch) | |
tree | 9c947e1688de4844e3ff16ed755c61faa3666ecc | |
parent | fac6d7a9c4a01fb7a976c890a649710984ac5df0 (diff) | |
download | tv_input-a646807553e622774861f42e2fad716f91826dab.zip tv_input-a646807553e622774861f42e2fad716f91826dab.tar.gz tv_input-a646807553e622774861f42e2fad716f91826dab.tar.bz2 |
fix for play stop
Change-Id: Ia6daab08e571b09dd7b6368af1ba0bf89e03a0b3
-rw-r--r-- | tvapi/libtv/tv/CTv.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tvapi/libtv/tv/CTv.cpp b/tvapi/libtv/tv/CTv.cpp index 0131fc7..078021b 100644 --- a/tvapi/libtv/tv/CTv.cpp +++ b/tvapi/libtv/tv/CTv.cpp @@ -824,7 +824,7 @@ int CTv::playDtvProgram ( int mode, int freq, int para1, int para2, int vpid, in {
mFrontDev.setPara ( mode, freq, para1, para2);
-
+ mTvAction = mTvAction | TV_ACTION_PLAYING;
startPlayTv ( SOURCE_DTV, vpid, apid, vfmt, afmt );
return 0;
@@ -886,6 +886,8 @@ int CTv::playDtmbProgram ( int progId ) int CTv::playAtvProgram (int freq, int videoStd, int audioStd, int fineTune)
{
+ mTvAction = mTvAction | TV_ACTION_PLAYING;
+
//image selecting channel
mSigDetectThread.requestAndWaitPauseDetect();
mTvin.Tvin_StopDecoder();
|