forked from pool/libquicktime
add libquicktime-jpeg7.patch (bnc#647859)
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libquicktime?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
d08892dfbf
commit
ddb36cbaaa
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dcceafcb91218e64dcc1ea6dac4139d2364669acf9b9f91430733fe66329e4e9
|
||||
size 775567
|
3
libquicktime-1.1.5.tar.bz2
Normal file
3
libquicktime-1.1.5.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9b42941b997619d9088f21bcc363e0bd8135c7a79b707fca4a6ae4e01bcd3a89
|
||||
size 776371
|
34
libquicktime-jpeg7.patch
Normal file
34
libquicktime-jpeg7.patch
Normal file
@@ -0,0 +1,34 @@
|
||||
Index: plugins/mjpeg/libmjpeg.c
|
||||
===================================================================
|
||||
--- plugins/mjpeg/libmjpeg.c.orig
|
||||
+++ plugins/mjpeg/libmjpeg.c
|
||||
@@ -479,6 +479,9 @@ static void new_jpeg_objects(mjpeg_compr
|
||||
/* Ideally the error handler would be set here but it must be called in a thread */
|
||||
jpeg_create_decompress(&(engine->jpeg_decompress));
|
||||
engine->jpeg_decompress.raw_data_out = TRUE;
|
||||
+#if JPEG_LIB_VERSION >= 70
|
||||
+ engine->jpeg_decompress.do_fancy_upsampling = FALSE;
|
||||
+#endif
|
||||
engine->jpeg_decompress.dct_method = JDCT_IFAST;
|
||||
}
|
||||
|
||||
@@ -665,6 +668,9 @@ static void decompress_field(mjpeg_compr
|
||||
|
||||
// Reset by jpeg_read_header
|
||||
engine->jpeg_decompress.raw_data_out = TRUE;
|
||||
+#if JPEG_LIB_VERSION >= 70
|
||||
+ engine->jpeg_decompress.do_fancy_upsampling = FALSE;
|
||||
+#endif
|
||||
jpeg_start_decompress(&engine->jpeg_decompress);
|
||||
|
||||
// Generate colormodel from jpeg sampling
|
||||
@@ -786,6 +792,9 @@ static mjpeg_compressor* mjpeg_new_compr
|
||||
result->jpeg_compress.in_color_space = JCS_RGB;
|
||||
jpeg_set_quality(&(result->jpeg_compress), mjpeg->quality, 0);
|
||||
|
||||
+#if JPEG_LIB_VERSION >= 70
|
||||
+ result->jpeg_compress.do_fancy_downsampling = FALSE;
|
||||
+#endif
|
||||
if(mjpeg->use_float)
|
||||
result->jpeg_compress.dct_method = JDCT_FLOAT;
|
||||
else
|
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 3 16:29:57 UTC 2010 - puzel@novell.com
|
||||
|
||||
- add libquicktime-jpeg7.patch (bnc#647859)
|
||||
- patch by Martin Wilck
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 26 11:40:10 UTC 2010 - puzel@novell.com
|
||||
|
||||
- update to libquicktime-1.1.5
|
||||
- encoding of AC3 and H.264 in AVI and some minor fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 8 07:53:04 UTC 2010 - puzel@novell.com
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package libquicktime (Version 1.1.4)
|
||||
# spec file for package libquicktime (Version 1.1.5)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -33,11 +33,12 @@ BuildRequires: fdupes
|
||||
License: LGPLv2.1+
|
||||
Group: Development/Languages/C and C++
|
||||
AutoReqProv: on
|
||||
Version: 1.1.4
|
||||
Version: 1.1.5
|
||||
Release: 1
|
||||
Url: http://libquicktime.sf.net
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
Patch1: %{name}-1.0.3-dont_disable_deprecated.patch
|
||||
Patch2: libquicktime-jpeg7.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: A Library for Reading and Writing Quicktime Movie Files
|
||||
Provides: quicktime4linux
|
||||
@@ -69,6 +70,7 @@ from quicktime4linux
|
||||
# fix brokem links in API docs
|
||||
sed -r 's/"(building|codecs|index|license|opening|positioning|reading|util|writing).html/"qt4l_&/' -i `find doc -type f`
|
||||
%patch1 -p1
|
||||
%patch2 -p0
|
||||
|
||||
%build
|
||||
autoreconf -f -i -v
|
||||
|
Reference in New Issue
Block a user