Skip to content

Commit

Permalink
Recorder fix and modified the build.bat script.
Browse files Browse the repository at this point in the history
  • Loading branch information
kibsoft committed Jun 19, 2013
1 parent 7ba3c7a commit 704e5e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions build.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
set FFMPEG_LIBRARY_PATH=""
set FFMPEG_INCLUDE_PATH=""
set OPENCV_LIBRARY_PATH=""
set OPENCV_INCLUDE_PATH=""
set QTMULTIMEDIAKIT_INCLUDE_PATH=""
qmake qtmel.pro
mingw32-make
2 changes: 1 addition & 1 deletion src/helpers/recorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ AbstractImageGrabber *Recorder::castImageGrabber() const

bool Recorder::connectAudioGrabber()
{
return connect(m_audioGrabber, SIGNAL(dataAvailable(QByteArray)), m_encoder, SLOT(encodeAudioData(QByteArray)));
return connect(m_audioGrabber, SIGNAL(dataAvailable(QByteArray)), m_encoder, SLOT(encodeAudioData(QByteArray)), Qt::UniqueConnection);
}

bool Recorder::disconnectAudioGrabber()
Expand Down

0 comments on commit 704e5e6

Please sign in to comment.