Mercurial > vba-linux
comparison src/common/movie.cpp @ 34:6bde5b67a2b8
saving progress
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Mon, 05 Mar 2012 01:58:52 -0600 |
parents | 44974c3e093b |
children | b82b18185103 |
comparison
equal
deleted
inserted
replaced
33:44974c3e093b | 34:6bde5b67a2b8 |
---|---|
1178 else if (Movie.state == MOVIE_STATE_RECORD) | 1178 else if (Movie.state == MOVIE_STATE_RECORD) |
1179 { | 1179 { |
1180 printf("RLM: Movie_STATE_RECORD\n"); | 1180 printf("RLM: Movie_STATE_RECORD\n"); |
1181 // use first fseek? | 1181 // use first fseek? |
1182 //TODO: THis is the problem. | 1182 //TODO: THis is the problem. |
1183 //fwrite(Movie.inputBufferPtr, 1, Movie.bytesPerFrame, Movie.file); | 1183 fwrite(Movie.inputBufferPtr, 1, Movie.bytesPerFrame, Movie.file); |
1184 printf("RLM: fuck.\n"); | 1184 printf("RLM: write successful.\n"); |
1185 Movie.header.length_frames = Movie.currentFrame; | 1185 Movie.header.length_frames = Movie.currentFrame; |
1186 Movie.inputBufferPtr += Movie.bytesPerFrame; | 1186 Movie.inputBufferPtr += Movie.bytesPerFrame; |
1187 Movie.RecordedThisSession = true; | 1187 Movie.RecordedThisSession = true; |
1188 flush_movie_header(); | 1188 flush_movie_header(); |
1189 } | 1189 } |