diff options
author | deva <deva> | 2005-10-26 14:09:13 +0000 |
---|---|---|
committer | deva <deva> | 2005-10-26 14:09:13 +0000 |
commit | 283599ea687e81855d78abffcbf641edb3bf02fb (patch) | |
tree | e3faad94c8c9d7b03733c56938aad1f4c7736711 /src/decoder.cc | |
parent | cf2e40851c35846fb9652a41745893b3bd2336ee (diff) |
*** empty log message ***
Diffstat (limited to 'src/decoder.cc')
-rw-r--r-- | src/decoder.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/decoder.cc b/src/decoder.cc index dea0ae4..0d56aca 100644 --- a/src/decoder.cc +++ b/src/decoder.cc @@ -77,6 +77,8 @@ Decoder::Decoder(Info *ginfo, pthread_mutex_init (&shot_mutex, NULL); shot = NULL; + + mute = false; } Decoder::~Decoder() @@ -160,6 +162,7 @@ void Decoder::decode() eframe->shoot = local_shoot; eframe->freeze = local_freeze; eframe->record = local_record; + eframe->mute = mute; encode_queue->push(eframe); @@ -275,5 +278,9 @@ void Decoder::getScreenshot(Frame *frame, unsigned char *rgb) dv_decoder_free(decoder); } +void Decoder::setMute(bool m) +{ + mute = m; +} #endif /*USE_GUI*/ |