aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mpeg4ip/files/patch-server_mp4live_video_ffmpeg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mpeg4ip/files/patch-server_mp4live_video_ffmpeg.cpp')
-rw-r--r--multimedia/mpeg4ip/files/patch-server_mp4live_video_ffmpeg.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/multimedia/mpeg4ip/files/patch-server_mp4live_video_ffmpeg.cpp b/multimedia/mpeg4ip/files/patch-server_mp4live_video_ffmpeg.cpp
index 2fd02ad2c05e..114e87f57d28 100644
--- a/multimedia/mpeg4ip/files/patch-server_mp4live_video_ffmpeg.cpp
+++ b/multimedia/mpeg4ip/files/patch-server_mp4live_video_ffmpeg.cpp
@@ -1,5 +1,5 @@
---- server/mp4live/video_ffmpeg.cpp.orig 2008-07-27 18:33:54.140404708 -0500
-+++ server/mp4live/video_ffmpeg.cpp 2008-07-27 18:34:54.699683611 -0500
+--- server/mp4live/video_ffmpeg.cpp.orig 2007-01-30 22:53:45.000000000 +0100
++++ server/mp4live/video_ffmpeg.cpp 2011-06-24 22:08:18.167374694 +0200
@@ -121,9 +121,6 @@
m_avctx->bit_rate =
Profile()->GetIntegerValue(CFG_VIDEO_BIT_RATE) * 1000;
@@ -23,3 +23,12 @@
#else
AVRational asp =
{Profile()->GetIntegerValue(CFG_VIDEO_MPEG4_PAR_WIDTH),
+@@ -225,7 +222,7 @@
+ }
+ if (wantKeyFrame) m_picture->pict_type = FF_I_TYPE; //m_picture->key_frame = 1;
+ else //m_picture->key_frame = 0;
+- m_picture->pict_type = 0;
++ m_picture->pict_type = FF_P_TYPE;
+
+ m_picture->data[0] = (uint8_t *)pY;
+ m_picture->data[1] = (uint8_t *)pU;