Permalink
Browse files

set decode thread count

git-svn-id: http://movist.googlecode.com/svn/trunk@270 9988c26d-9134-0410-b5bb-5778289bb252
  • Loading branch information...
1 parent 3f0ba99 commit 69e40c9ed1637864af942910a97afa91929dda89 moosoy committed Jun 7, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 FFTrack.m
View
@@ -80,6 +80,7 @@ - (BOOL)initContext:(int*)errorCode
if (context->codec_type == CODEC_TYPE_VIDEO) {
avcodec_thread_init(context, 2);
+ context->thread_count = 2;
}
return TRUE;

0 comments on commit 69e40c9

Please sign in to comment.