summaryrefslogtreecommitdiff
path: root/net/opal3/files/patch-plugins-video-MPEG4-ffmpeg-mpeg4.cxx
diff options
context:
space:
mode:
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