diff options
Diffstat (limited to 'audio.cpp')
-rw-r--r-- | audio.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -168,7 +168,14 @@ MarkAdMark *cMarkAdAudio::Process(int LastIFrame) macontext->Audio.Info.Channels,lastiframe)!=-1) { isyslog(buf); - AddMark(MT_CHANNELCHANGE,lastiframe,buf); + if (macontext->Audio.Info.Channels>2) + { + AddMark(MT_CHANNELSTART,lastiframe,buf); + } + else + { + AddMark(MT_CHANNELSTOP,lastiframe,buf); + } free(buf); } } |