Index: third_party/ffmpeg/patched-ffmpeg-mt/mt-work/mplayer.diff |
=================================================================== |
--- third_party/ffmpeg/patched-ffmpeg-mt/mt-work/mplayer.diff (revision 0) |
+++ third_party/ffmpeg/patched-ffmpeg-mt/mt-work/mplayer.diff (revision 0) |
@@ -0,0 +1,22 @@ |
+Index: libvo/vo_corevideo.m |
+=================================================================== |
+--- libvo/vo_corevideo.m (revision 29318) |
++++ libvo/vo_corevideo.m (working copy) |
+@@ -466,6 +466,8 @@ |
+ NSRect frame; |
+ CVReturn error = kCVReturnSuccess; |
+ |
++ NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; |
++ |
+ //config window |
+ aspect((int *)&d_width, (int *)&d_height,A_NOZOOM); |
+ frame = NSMakeRect(0, 0, d_width, d_height); |
+@@ -508,6 +510,8 @@ |
+ |
+ if(vo_ontop) |
+ [mpGLView ontop]; |
++ |
++ [pool release]; |
+ } |
+ |
+ /* |