Author: jwrdegoede
Update of /cvs/free/rpms/y4mscaler/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28763
Modified Files:
y4mscaler.spec
Added Files:
y4mscaler-9.0-new-mjpegtools.patch
Log Message:
* Sat Aug 16 2008 Hans de Goede <jwrdegoede(a)fedoraproject.org> 9.0-7
- Fix build with new mjpegtools
y4mscaler-9.0-new-mjpegtools.patch:
--- NEW FILE y4mscaler-9.0-new-mjpegtools.patch ---
diff -up y4mscaler-9.0/y4mscaler.C~ y4mscaler-9.0/y4mscaler.C
--- y4mscaler-9.0/y4mscaler.C~ 2008-08-16 21:12:06.000000000 +0200
+++ y4mscaler-9.0/y4mscaler.C 2008-08-16 21:13:00.000000000 +0200
@@ -194,7 +194,7 @@ int main(int argc, char *argv[])
if (source.read_stream_header(fd_in) != Y4M_OK)
mjpeg_error_exit1("Failed to read YUV4MPEG2 header!");
mjpeg_info("Input Stream Header:");
- source.stream().log_info(LOG_INFO, "<<< ");
+ source.stream().log_info(mjpeg_loglev_t("info"), "<<< ");
/* set target stream defaults from source stream */
target.init_stream(source);
@@ -216,7 +216,7 @@ int main(int argc, char *argv[])
/* set up target stream */
target.stream().write_stream_header(fd_out);
mjpeg_info("Output Stream Header:");
- target.stream().log_info(LOG_INFO, ">>> ");
+ target.stream().log_info(mjpeg_loglev_t("info"), ">>> ");
/* do some scaling */
scaling.create_scalers(source, target);
Index: y4mscaler.spec
===================================================================
RCS file: /cvs/free/rpms/y4mscaler/devel/y4mscaler.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- y4mscaler.spec 9 Aug 2008 08:52:36 -0000 1.1
+++ y4mscaler.spec 16 Aug 2008 19:07:13 -0000 1.2
@@ -1,12 +1,13 @@
Name: y4mscaler
Version: 9.0
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Video scaler which operates on YUV4MPEG2 streams
Group: Applications/Multimedia
License: GPLv2+
URL:
http://www.mir.com/DMG/Software/
Source0:
http://www.mir.com/DMG/Software/%{name}-%{version}-src.tgz
+Patch0: y4mscaler-9.0-new-mjpegtools.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: mjpegtools-devel >= 1.6.3
@@ -20,6 +21,7 @@
%prep
%setup -q
+%patch0 -p1
%build
@@ -44,6 +46,9 @@
%changelog
+* Sat Aug 16 2008 Hans de Goede <jwrdegoede(a)fedoraproject.org> 9.0-7
+- Fix build with new mjpegtools
+
* Sat Aug 09 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 9.0-6
- rebuild