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;
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();