Author: jwrdegoede
Update of /cvs/free/rpms/gstreamer-plugins-bad/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv22958
Modified Files:
gstreamer-plugins-bad.spec
Added Files:
gst-plugins-bad-0.10.5-new-mjpegtools.patch
Log Message:
* Wed Jul 23 2008 Hans de Goede <j.w.r.degoede(a)hhs.nl> 0.10.5-15
- Release bump for rpmfusion
gst-plugins-bad-0.10.5-new-mjpegtools.patch:
--- NEW FILE gst-plugins-bad-0.10.5-new-mjpegtools.patch ---
diff -up gst-plugins-bad-0.10.5/ext/mpeg2enc/gstmpeg2enc.cc~
gst-plugins-bad-0.10.5/ext/mpeg2enc/gstmpeg2enc.cc
--- gst-plugins-bad-0.10.5/ext/mpeg2enc/gstmpeg2enc.cc~ 2007-12-09 21:56:17.000000000
+0100
+++ gst-plugins-bad-0.10.5/ext/mpeg2enc/gstmpeg2enc.cc 2007-12-09 21:56:17.000000000
+0100
@@ -658,23 +658,16 @@ gst_mpeg2enc_log_callback (log_level_t l
{
GstDebugLevel gst_level;
- switch (level) {
- case LOG_NONE:
- gst_level = GST_LEVEL_NONE;
- break;
- case LOG_ERROR:
- gst_level = GST_LEVEL_ERROR;
- break;
- case LOG_INFO:
- gst_level = GST_LEVEL_INFO;
- break;
- case LOG_DEBUG:
- gst_level = GST_LEVEL_DEBUG;
- break;
- default:
- gst_level = GST_LEVEL_INFO;
- break;
- }
+ if (level == mjpeg_loglev_t("debug"))
+ gst_level = GST_LEVEL_DEBUG;
+ else if (level == mjpeg_loglev_t("info"))
+ gst_level = GST_LEVEL_INFO;
+ else if (level == mjpeg_loglev_t("warn"))
+ gst_level = GST_LEVEL_WARNING;
+ else if (level == mjpeg_loglev_t("error"))
+ gst_level = GST_LEVEL_ERROR;
+ else
+ gst_level = GST_LEVEL_INFO;
gst_debug_log (mpeg2enc_debug, gst_level, "", "", 0, NULL,
message);
Index: gstreamer-plugins-bad.spec
===================================================================
RCS file: /cvs/free/rpms/gstreamer-plugins-bad/F-8/gstreamer-plugins-bad.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- gstreamer-plugins-bad.spec 24 Jul 2008 09:51:10 -0000 1.2
+++ gstreamer-plugins-bad.spec 16 Aug 2008 07:28:54 -0000 1.3
@@ -26,6 +26,7 @@
Patch7: gst-plugins-bad-0.10.5-mms-connections-speed.patch
Patch8: gst-plugins-bad-0.10.5-mms-seek.patch
Patch9: gst-plugins-bad-0.10.5-flv.patch
+Patch10: gst-plugins-bad-0.10.5-new-mjpegtools.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: %{gstreamer} >= %{gst_minver}
BuildRequires: %{gstreamer}-devel >= %{gst_minver}
@@ -117,6 +118,7 @@
%patch7 -p1
%patch8 -p1
%patch9 -p1
+%patch10 -p1
### Use correct soundtouch pkgconfig package name
%{__sed} -i -e 's|libSoundTouch|soundtouch-1.0|g' configure*
### only check minimum versions for mjpegtools and neon