Added experimental multi-threaded features to the FFmpegWriter

This commit is contained in:
Jonathan Thomas
2012-08-20 00:02:09 -05:00
parent ef2435eaea
commit 3f2855735e
5 changed files with 175 additions and 79 deletions

View File

@@ -4,7 +4,7 @@ using namespace openshot;
FFmpegReader::FFmpegReader(string path) throw(InvalidFile, NoStreamsFound, InvalidCodec)
: last_frame(0), is_seeking(0), seeking_pts(0), seeking_frame(0),
audio_pts_offset(99999), video_pts_offset(99999), working_cache(10), final_cache(10), path(path),
audio_pts_offset(99999), video_pts_offset(99999), working_cache(12), final_cache(12), path(path),
is_video_seek(true), check_interlace(false), check_fps(false), enable_seek(true),
rescaler_position(0), num_of_rescalers(32) {