summaryrefslogtreecommitdiff
path: root/net/opal3/files/patch-plugins-video-MPEG4-ffmpeg-mpeg4.cxx
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2011-06-25 09:48:03 +0000
committerMartin Matuska <mm@FreeBSD.org>2011-06-25 09:48:03 +0000
commit6d38f90ae5024cf8f32f35aec11f58c5e695d4b4 (patch)
treeb903369c3786a633b5a0fde82c7e93ec94e5cc09 /net/opal3/files/patch-plugins-video-MPEG4-ffmpeg-mpeg4.cxx
parent- Update MASTER_SITES (diff)
Unbreak with new ffmpeg 0.7.1
Diffstat (limited to 'net/opal3/files/patch-plugins-video-MPEG4-ffmpeg-mpeg4.cxx')
-rw-r--r--net/opal3/files/patch-plugins-video-MPEG4-ffmpeg-mpeg4.cxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/opal3/files/patch-plugins-video-MPEG4-ffmpeg-mpeg4.cxx b/net/opal3/files/patch-plugins-video-MPEG4-ffmpeg-mpeg4.cxx
new file mode 100644
index 000000000000..4a9e0127f8fa
--- /dev/null
+++ b/net/opal3/files/patch-plugins-video-MPEG4-ffmpeg-mpeg4.cxx
@@ -0,0 +1,15 @@
+--- plugins/video/MPEG4-ffmpeg/mpeg4.cxx.orig 2011-06-25 11:31:14.153034898 +0200
++++ plugins/video/MPEG4-ffmpeg/mpeg4.cxx 2011-06-25 11:32:04.791577475 +0200
+@@ -830,10 +830,12 @@
+ {
+ _avpicture->pict_type = FF_I_TYPE;
+ }
++/*
+ else // No IFrame requested, let avcodec decide what to do
+ {
+ _avpicture->pict_type = 0;
+ }
++*/
+
+ // Encode a frame
+ int total = FFMPEGLibraryInstance.AvcodecEncodeVideo