diff options
Diffstat (limited to 'patches/osdpip__decoder_c.diff')
-rw-r--r-- | patches/osdpip__decoder_c.diff | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/patches/osdpip__decoder_c.diff b/patches/osdpip__decoder_c.diff deleted file mode 100644 index f116978..0000000 --- a/patches/osdpip__decoder_c.diff +++ /dev/null @@ -1,20 +0,0 @@ -diff -Nur /usr/local/src/vdr-1.7.10/PLUGINS/src/osdpip-0.0.10a/decoder.c.orig /usr/local/src/vdr-1.7.10/PLUGINS/src/osdpip-0.0.10a/decoder.c ---- /usr/local/src/vdr-1.7.10/PLUGINS/src/osdpip-0.0.10a/decoder.c.orig 2010-01-02 11:36:19.000000000 +0100 -+++ /usr/local/src/vdr-1.7.10/PLUGINS/src/osdpip-0.0.10a/decoder.c 2010-01-02 11:37:12.000000000 +0100 -@@ -82,14 +82,14 @@ - context = sws_getContext(m_Context->width - (OsdPipSetup.CropLeft + OsdPipSetup.CropRight), - m_Context->height - (OsdPipSetup.CropTop + OsdPipSetup.CropBottom), - PIX_FMT_YUV420P, -- m_Width, m_Height, ConvertToRGB ? PIX_FMT_RGBA32 : PIX_FMT_YUV420P, -+ m_Width, m_Height, ConvertToRGB ? PIX_FMT_RGB32 : PIX_FMT_YUV420P, - SWS_LANCZOS, NULL, NULL, NULL); - if (!context) { - printf("Error initializing scale context.\n"); - return -1; - } - avpicture_fill((AVPicture *) m_PicResample, m_BufferResample, -- ConvertToRGB ? PIX_FMT_RGBA32 : PIX_FMT_YUV420P, -+ ConvertToRGB ? PIX_FMT_RGB32 : PIX_FMT_YUV420P, - m_Width, m_Height); - sws_scale(context, pic_crop.data, pic_crop.linesize, - 0, m_Context->height - (OsdPipSetup.CropTop + OsdPipSetup.CropBottom), |