Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1085)

Unified Diff: third_party/ffmpeg/patched-ffmpeg-mt/mt-work/mplayer.diff

Issue 566011: FFmpeg add mt-work folder for completeness. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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];
+ }
+
+ /*
« no previous file with comments | « third_party/ffmpeg/patched-ffmpeg-mt/mt-work/email.sh ('k') | third_party/ffmpeg/patched-ffmpeg-mt/mt-work/test.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698