Author: jwrdegoede
Update of /cvs/free/rpms/gstreamer-plugins-bad/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv29736
Modified Files:
gstreamer-plugins-bad.spec
Added Files:
gst-plugins-bad-0.10.7-new-dirac.patch
Log Message:
* Wed Jul 23 2008 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.7-3
- Release bump for rpmfusion
- Merge changes from latest freshrpms package: enable ofa and dirac plugins
gst-plugins-bad-0.10.7-new-dirac.patch:
--- NEW FILE gst-plugins-bad-0.10.7-new-dirac.patch ---
--- gst-plugins-bad-0.10.7/ext/dirac/gstdiracenc.cc 2008/04/13 20:54:52 1.3
+++ gst-plugins-bad-0.10.7/ext/dirac/gstdiracenc.cc 2008/06/04 17:02:38 1.4
@@ -111,7 +111,9 @@
PROP_MULTI_QUANTS,
PROP_MV_PREC,
PROP_NO_SPARTITION,
- PROP_DENOISE,
+ PROP_PREFILTER,
+ PROP_PREFILTER_STRENGTH,
+ PROP_PICTURE_CODING_MODE,
PROP_USE_VLC
};
@@ -228,12 +230,18 @@
g_object_class_install_property (gobject_class, PROP_NO_SPARTITION,
g_param_spec_boolean ("no_spartition", "no_spartition",
"no_spartition",
FALSE, (GParamFlags) G_PARAM_READWRITE));
- g_object_class_install_property (gobject_class, PROP_DENOISE,
- g_param_spec_boolean ("denoise", "denoise",
"denoise",
- FALSE, (GParamFlags) G_PARAM_READWRITE));
+ g_object_class_install_property (gobject_class, PROP_PREFILTER,
+ g_param_spec_int ("prefilter", "prefilter",
"prefilter",
+ 0, 3, 0, (GParamFlags) G_PARAM_READWRITE));
+ g_object_class_install_property (gobject_class, PROP_PREFILTER_STRENGTH,
+ g_param_spec_int ("pf_strength", "pf_strength",
"pf_strength",
+ 0, 10, 0, (GParamFlags) G_PARAM_READWRITE));
+ g_object_class_install_property (gobject_class, PROP_PICTURE_CODING_MODE,
+ g_param_spec_int ("picture_coding_mode",
"picture_coding_mode",
+ "picture_coding_mode", 0, 1, 0, (GParamFlags) G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, PROP_USE_VLC,
- g_param_spec_boolean ("use_vlc", "use_vlc",
"use_vlc",
- FALSE, (GParamFlags) G_PARAM_READWRITE));
+ g_param_spec_boolean ("use_vlc", "use_vlc",
"use_vlc", FALSE,
+ (GParamFlags) G_PARAM_READWRITE));
gstelement_class->change_state = gst_dirac_enc_change_state;
}
@@ -419,11 +427,18 @@
encoder->enc_ctx.enc_params.spatial_partition =
!g_value_get_boolean (value);
break;
- case PROP_DENOISE:
- encoder->enc_ctx.enc_params.denoise = g_value_get_boolean (value);
+ case PROP_PREFILTER:
+ encoder->enc_ctx.enc_params.prefilter =
+ (dirac_prefilter_t) g_value_get_int (value);
+ break;
+ case PROP_PREFILTER_STRENGTH:
+ encoder->enc_ctx.enc_params.prefilter_strength = g_value_get_int (value);
+ break;
+ case PROP_PICTURE_CODING_MODE:
+ encoder->enc_ctx.enc_params.picture_coding_mode = g_value_get_int (value);
break;
case PROP_USE_VLC:
- encoder->enc_ctx.enc_params.using_ac = !g_value_get_boolean (value);
+ encoder->enc_ctx.enc_params.using_ac = g_value_get_boolean (value);
break;
}
}
Index: gstreamer-plugins-bad.spec
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-bad/devel/gstreamer-plugins-bad.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gstreamer-plugins-bad.spec 22 Jul 2008 19:04:28 -0000 1.1
+++ gstreamer-plugins-bad.spec 24 Jul 2008 09:20:55 -0000 1.2
@@ -11,13 +11,14 @@
Summary: GStreamer streaming media framework "bad" plug-ins
Name: gstreamer-plugins-bad
Version: 0.10.7
-Release: 2%{?dist}
+Release: 3%{?dist}
License: LGPLv2+
Group: Applications/Multimedia
URL:
http://gstreamer.freedesktop.org/
Source:
http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{ve...
Patch1: gstreamer-plugins-bad-0.10.5-sys-modplug.patch
Patch2: gst-plugins-bad-0.10.5-mms-seek.patch
+Patch3: gst-plugins-bad-0.10.7-new-dirac.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: %{gstreamer} >= %{gst_minver}
BuildRequires: %{gstreamer}-devel >= %{gst_minver}
@@ -60,6 +61,8 @@
BuildRequires: libexif-devel
BuildRequires: libiptcdata-devel
BuildRequires: exempi-devel
+BuildRequires: dirac-devel
+BuildRequires: libofa-devel
%description
GStreamer is a streaming media framework, based on graphs of elements which
@@ -105,6 +108,7 @@
%setup -q -n gst-plugins-bad-%{version}
%patch1 -p1
%patch2 -p1
+%patch3 -p1
### we use the system version of libmodplug
%{__rm} -r gst/modplug/libmodplug/*
touch gst/modplug/libmodplug/Makefile.in
@@ -199,6 +203,7 @@
%{_libdir}/gstreamer-%{majorminor}/libgstcdaudio.so
%{_libdir}/gstreamer-%{majorminor}/libgstdc1394.so
%{_libdir}/gstreamer-%{majorminor}/libgstdfbvideosink.so
+%{_libdir}/gstreamer-%{majorminor}/libgstdirac.so
%{_libdir}/gstreamer-%{majorminor}/libgstdtsdec.so
%{_libdir}/gstreamer-%{majorminor}/libgstfaac.so
%{_libdir}/gstreamer-%{majorminor}/libgstfaad.so
@@ -211,6 +216,7 @@
%{_libdir}/gstreamer-%{majorminor}/libgstmusepack.so
%{_libdir}/gstreamer-%{majorminor}/libgsttrm.so
%{_libdir}/gstreamer-%{majorminor}/libgstneonhttpsrc.so
+%{_libdir}/gstreamer-%{majorminor}/libgstofa.so
%{_libdir}/gstreamer-%{majorminor}/libgstsdl.so
%{_libdir}/gstreamer-%{majorminor}/libgstsndfile.so
#%{_libdir}/gstreamer-%{majorminor}/libgstswfdec.so
@@ -235,6 +241,10 @@
%changelog
+* Wed Jul 23 2008 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.7-3
+- Release bump for rpmfusion
+- Merge changes from latest freshrpms package: enable ofa and dirac plugins
+
* Fri Jun 27 2008 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.7-2
- Rebuild for new x264