Skip to content

Commit

Permalink
Fixed camera release
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricve committed Nov 26, 2014
1 parent 0e51f24 commit 74e8408
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/private_still/private_still_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,13 @@ namespace raspicam {
encoder_output_port = NULL;
_isInitialized=false;
}

~Private_Impl_Still()
{
destroyCamera();
destroyEncoder();
}

int initialize();
int startCapture ( imageTakenCallback userCallback, unsigned char * preallocated_data, unsigned int offset, unsigned int length );
void stopCapture();
Expand Down

0 comments on commit 74e8408

Please sign in to comment.