zapit/src/capmt.cpp: use record demux for streaming

Origin commit data
------------------
Branch: ni/coolstream
Commit: 14c8f1931a
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-03-25 (Mon, 25 Mar 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2013-03-25 13:35:15 +04:00
parent d543a063e2
commit b0c24d23f4

View File

@@ -213,14 +213,17 @@ bool CCamManager::SetMode(t_channel_id channel_id, enum runmode mode, bool start
source = DEMUX_SOURCE_0;
demux = LIVE_DEMUX;
break;
case STREAM:
case RECORD:
source = channel->getRecordDemux();
demux = channel->getRecordDemux();
break;
#if 0
case STREAM:
source = DEMUX_SOURCE_0;
demux = STREAM_DEMUX;
break;
#endif
case PIP:
source = channel->getRecordDemux();
demux = channel->getPipDemux();