Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37732324
en ru br
ALT Linux repos
S:6.2.6-alt1

Group :: System/Configuration/Printing
RPM: printer-driver-brlaser

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: printer-driver-brlaser-max_lines_per_block_.patch
Download


From 31327c414eb9ec8b6d89edaf232a9a114aed5099 Mon Sep 17 00:00:00 2001
From: Lenar Shakirov <snejok@altlinux.org>
Date: Wed, 15 Jan 2020 11:36:09 +0300
Subject: [PATCH] block.h: max_lines_per_block_ = 32 and jpeg files printing
- Thanks to @al3x-huang for resolution in
  https://github.com/pdewacht/brlaser/issues/52
---
 src/block.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/block.h b/src/block.h
index e5dbd8d..bb11a3d 100644
--- a/src/block.h
+++ b/src/block.h
@@ -59,7 +59,7 @@ class block {
  private:
   static const unsigned max_block_size_ = 16350;
-  static const unsigned max_lines_per_block_ = 64;
+  static const unsigned max_lines_per_block_ = 32;
   std::vector<std::vector<uint8_t>> lines_;
   int line_bytes_;
--
2.10.2
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin