diff options
author | Marinus Schraal <foser@gentoo.org> | 2005-04-18 10:21:17 +0000 |
---|---|---|
committer | Marinus Schraal <foser@gentoo.org> | 2005-04-18 10:21:17 +0000 |
commit | f06dab45892e743781b277b29d3affa608549ea3 (patch) | |
tree | 3eadcb237e13758b66d313691f1eca5c78b1d56b /media-plugins/gst-plugins-pango/files | |
parent | Removed .a files, Fixed SRC_URI. (diff) | |
download | gentoo-2-f06dab45892e743781b277b29d3affa608549ea3.tar.gz gentoo-2-f06dab45892e743781b277b29d3affa608549ea3.tar.bz2 gentoo-2-f06dab45892e743781b277b29d3affa608549ea3.zip |
add subtitle patch
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-plugins/gst-plugins-pango/files')
-rw-r--r-- | media-plugins/gst-plugins-pango/files/digest-gst-plugins-pango-0.8.8-r1 | 1 | ||||
-rw-r--r-- | media-plugins/gst-plugins-pango/files/gst-plugins-pango-0.8.8-sub_position.patch | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-pango/files/digest-gst-plugins-pango-0.8.8-r1 b/media-plugins/gst-plugins-pango/files/digest-gst-plugins-pango-0.8.8-r1 new file mode 100644 index 000000000000..e862979669af --- /dev/null +++ b/media-plugins/gst-plugins-pango/files/digest-gst-plugins-pango-0.8.8-r1 @@ -0,0 +1 @@ +MD5 4f6e7e730fa674ecd6ec713f937b8acb gst-plugins-0.8.8.tar.bz2 2214274 diff --git a/media-plugins/gst-plugins-pango/files/gst-plugins-pango-0.8.8-sub_position.patch b/media-plugins/gst-plugins-pango/files/gst-plugins-pango-0.8.8-sub_position.patch new file mode 100644 index 000000000000..9c92ebf63247 --- /dev/null +++ b/media-plugins/gst-plugins-pango/files/gst-plugins-pango-0.8.8-sub_position.patch @@ -0,0 +1,43 @@ +=================================================================== +RCS file: /cvs/gstreamer/gst-plugins/ext/pango/gsttextoverlay.c,v +retrieving revision 1.16.2.1 +retrieving revision 1.16.2.2 +diff -u -r1.16.2.1 -r1.16.2.2 +--- gsttextoverlay.c 2005/03/31 15:53:41 1.16.2.1 ++++ gsttextoverlay.c 2005/04/18 09:59:43 1.16.2.2 +@@ -217,7 +217,7 @@ + + pango_layout_get_pixel_extents (overlay->layout, &ink_rect, &logical_rect); + resize_bitmap (overlay, ink_rect.width, ink_rect.height + ink_rect.y); +- pango_ft2_render_layout (&overlay->bitmap, overlay->layout, 0, 0); ++ pango_ft2_render_layout (&overlay->bitmap, overlay->layout, 1, 0); + overlay->baseline_y = ink_rect.y; + } + +@@ -317,7 +317,7 @@ + int rowinc, bit_rowinc, uv_rowinc; + guchar *p, *bitp, *u_p; + int video_width = overlay->width, video_height = overlay->height; +- int bitmap_x0 = x0 < 1 ? -(x0 - 1) : 1; /* 1 pixel border */ ++ int bitmap_x0 = 0; //x0 < 1 ? -(x0 - 1) : 1; /* 1 pixel border */ + int bitmap_y0 = y0 < 1 ? -(y0 - 1) : 1; /* 1 pixel border */ + int bitmap_width = bitmap->width - bitmap_x0; + int bitmap_height = bitmap->rows - bitmap_y0; +@@ -339,7 +339,7 @@ + x1 = x0 + bitmap_x0; + p = pixbuf + video_width * y1 + x1; + bitp = bitmap->buffer + bitmap->pitch * bitmap_y0 + bitmap_x0; +- for (y = bitmap_y0; y < bitmap_height; y++) { ++ for (y = bitmap_y0; y < bitmap_y0 + bitmap_height; y++) { + int n; + + for (n = bitmap_width; n > 0; --n) { +@@ -368,7 +368,7 @@ + skip_y = 0; + skip_x = 0; + +- for (; y < bitmap_height; y++) { ++ for (; y < bitmap_y0 + bitmap_height; y++) { + int n; + + x1 = x0 + bitmap_x0; |