rpms/gstreamer-plugins-bad/devel gst-new-ass-api.patch, NONE,
1.1 gstreamer-plugins-bad.spec, 1.23, 1.24
Hans de Goede
jwrdegoede at rpmfusion.org
Mon Aug 31 14:07:15 CEST 2009
Author: jwrdegoede
Update of /cvs/free/rpms/gstreamer-plugins-bad/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv25459
Modified Files:
gstreamer-plugins-bad.spec
Added Files:
gst-new-ass-api.patch
Log Message:
* Mon Aug 31 2009 Hans de Goede <j.w.r.degoede at hhs.nl> 0.10.13-7
- Rebuild for new libass
gst-new-ass-api.patch:
--- NEW FILE gst-new-ass-api.patch ---
diff -up gst-plugins-bad-0.10.13/ext/assrender/gstassrender.c.new-ass-api gst-plugins-bad-0.10.13/ext/assrender/gstassrender.c
--- gst-plugins-bad-0.10.13/ext/assrender/gstassrender.c.new-ass-api 2009-03-06 18:37:51.000000000 +0100
+++ gst-plugins-bad-0.10.13/ext/assrender/gstassrender.c 2009-08-10 13:08:56.000000000 +0200
@@ -297,13 +297,12 @@ gst_assrender_setcaps_video (GstPad * pa
gst_structure_get_int (structure, "height", &render->height)) {
ret = gst_pad_set_caps (render->srcpad, caps);
ass_set_frame_size (render->ass_renderer, render->width, render->height);
- /* FIXME: Does this expect aspect ratio or pixel aspect ratio? */
- ass_set_aspect_ratio (render->ass_renderer,
+ ass_set_aspect_ratio (render->ass_renderer,
+ ((gdouble) (render->width)) / ((gdouble) (render->height)),
((gdouble) par_n) / ((gdouble) par_d));
ass_set_font_scale (render->ass_renderer, 1.0);
ass_set_hinting (render->ass_renderer, ASS_HINTING_NATIVE);
- ass_set_fonts (render->ass_renderer, "Arial", "sans-serif");
- ass_set_fonts (render->ass_renderer, NULL, "Sans");
+ ass_set_fonts (render->ass_renderer, NULL, "Sans", 1, NULL, 1);
ass_set_margins (render->ass_renderer, 0, 0, 0, 0);
ass_set_use_margins (render->ass_renderer, 0);
@@ -383,7 +382,7 @@ gst_assrender_chain_video (GstPad * pad,
gint64 start, stop, clip_start = 0, clip_stop = 0;
double timestamp;
double step;
- ass_image_t *ass_image;
+ ASS_Image *ass_image;
render = GST_ASSRENDER (GST_PAD_PARENT (pad));
diff -up gst-plugins-bad-0.10.13/ext/assrender/gstassrender.h.new-ass-api gst-plugins-bad-0.10.13/ext/assrender/gstassrender.h
--- gst-plugins-bad-0.10.13/ext/assrender/gstassrender.h.new-ass-api 2009-03-06 18:37:51.000000000 +0100
+++ gst-plugins-bad-0.10.13/ext/assrender/gstassrender.h 2009-08-10 12:56:09.000000000 +0200
@@ -44,9 +44,9 @@ struct _Gstassrender
gint width, height;
- ass_library_t *ass_library;
- ass_renderer_t *ass_renderer;
- ass_track_t *ass_track;
+ ASS_Library *ass_library;
+ ASS_Renderer *ass_renderer;
+ ASS_Track *ass_track;
gboolean renderer_init_ok, track_init_ok, enable, embeddedfonts;
};
Index: gstreamer-plugins-bad.spec
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-bad/devel/gstreamer-plugins-bad.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- gstreamer-plugins-bad.spec 11 Aug 2009 19:29:04 -0000 1.23
+++ gstreamer-plugins-bad.spec 31 Aug 2009 12:07:14 -0000 1.24
@@ -7,12 +7,13 @@
Summary: GStreamer streaming media framework "bad" plug-ins
Name: gstreamer-plugins-bad
Version: 0.10.13
-Release: 6%{?dist}
+Release: 7%{?dist}
# The freeze and nfs plugins are LGPLv2 (only)
License: LGPLv2+ and LGPLv2
Group: Applications/Multimedia
URL: http://gstreamer.freedesktop.org/
Source: http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.bz2
+Patch0: gst-new-ass-api.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: %{gstreamer} >= %{gst_minver}
BuildRequires: %{gstreamer}-devel >= %{gst_minver}
@@ -120,6 +121,7 @@
%prep
%setup -q -n gst-plugins-bad-%{version}
+%patch0 -p1
%build
@@ -269,6 +271,9 @@
%changelog
+* Mon Aug 31 2009 Hans de Goede <j.w.r.degoede at hhs.nl> 0.10.13-7
+- Rebuild for new libass
+
* Tue Aug 11 2009 Hans de Goede <j.w.r.degoede at hhs.nl> 0.10.13-6
- Enable mimic plugin now that we have libmimic in RPM Fusion
More information about the rpmfusion-commits
mailing list