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

This commit is contained in:
[CST] Focus
2013-03-25 13:35:15 +04:00
parent 29d7f897af
commit 14c8f1931a

View File

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