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-27 22:59:39 +0000
committerMartin Matuska <mm@FreeBSD.org>2011-06-27 22:59:39 +0000
commitf789a1eda292b7113863b4efe5f4e0a7eb0477e6 (patch)
treefa9a71ff9640d21566bcc5bf558fa0b6d0424053 /net/opal3/files/patch-plugins-video-MPEG4-ffmpeg-mpeg4.cxx
parentAdd patch to fix building C++ programs (diff)
Fix C++ build 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.cxx7
1 files changed, 3 insertions, 4 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
index 4a9e0127f8fa..b7a500489cb2 100644
--- a/net/opal3/files/patch-plugins-video-MPEG4-ffmpeg-mpeg4.cxx
+++ b/net/opal3/files/patch-plugins-video-MPEG4-ffmpeg-mpeg4.cxx
@@ -1,15 +1,14 @@
--- 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 @@
+@@ -830,10 +830,10 @@
{
_avpicture->pict_type = FF_I_TYPE;
}
-+/*
else // No IFrame requested, let avcodec decide what to do
{
- _avpicture->pict_type = 0;
+- _avpicture->pict_type = 0;
++ _avpicture->pict_type = AV_PICTURE_TYPE_NONE;
}
-+*/
// Encode a frame
int total = FFMPEGLibraryInstance.AvcodecEncodeVideo