Skip to content

Commit

Permalink
#5 move avi writer to codec directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenhoving committed May 19, 2018
1 parent 32bb9fc commit 1ea9d4f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
12 changes: 10 additions & 2 deletions CamStudioRecorder/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ project(CamStudioRecorder)
find_package(ffmpeg)

set(RECORDER_SOURCE
AviWriter.cpp
AviWriter.h
AudioFormatDlg.cpp
AudioFormatDlg.h
AudioMixer.cpp
Expand Down Expand Up @@ -135,6 +133,11 @@ set(RECORDER_ADDONS_SOURCE
addons/TextAttributes.h
)

set(RECORDER_CODEC_SOURCE
codec/avi_writer.cpp
codec/avi_writer.h
)

set(RECORDER_RESOURCE
Recorder.rc
)
Expand All @@ -145,6 +148,7 @@ add_executable(CamStudioRecorder WIN32
${RECORDER_SOURCE}
${RECORDER_RESOURCE}
${RECORDER_VFW_SOURCE}
${RECORDER_CODEC_SOURCE}
${RECORDER_ADDONS_SOURCE}
)

Expand All @@ -156,6 +160,10 @@ source_group(addons FILES
${RECORDER_ADDONS_SOURCE}
)

source_group(codec FILES
${RECORDER_CODEC_SOURCE}
)

source_group(src FILES
${RECORDER_SOURCE}
${RECORDER_RESOURCE}
Expand Down
3 changes: 2 additions & 1 deletion CamStudioRecorder/RecorderView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
#include "TroubleShootDlg.h"
#include "VideoOptionsDlg.h"
#include "ProgressDlg.h"
#include "AviWriter.h"

#include "codec/avi_writer.h"

#include <ximage.h>
#include <fmt/format.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

#include "stdafx.h"
#include "AviWriter.h"
#include "avi_writer.h"
#include "Avi.h"

#define AVIIF_KEYFRAME 0x00000010L // this frame is a key frame.
Expand Down
File renamed without changes.

0 comments on commit 1ea9d4f

Please sign in to comment.