Hi,

since the problem will soon be old enough to go to school,
i propose to fix a bug in the libburn plugin of Brasero
which is to see at
  
  
https://git.gnome.org/browse/brasero/tree/plugins/libburnia/burn-libburn.c#n558

This line obviously gets a number out of brasero's state:

    brasero_job_get_rate (BRASERO_JOB (self), &rate);

This line hands over the number to libburn as read speed,
and orders maximum write speed by value 0:

    burn_drive_set_speed (priv->ctx->drive, rate, 0);

It should obviously be

    burn_drive_set_speed (priv->ctx->drive, 0, rate);

Quoting my predecessors and myself from 
  http://libburnia-project.org/browser/libburn/trunk/libburn/libburn.h

  /** Sets drive read and write speed
      Note: "k" is 1000, not 1024. 1xCD = 176.4 k/s, 1xDVD = 1385 k/s.
            Fractional speeds should be rounded up. Like 4xCD = 706.
      @param d The drive to set speed for
      @param read Read speed in k/s (0 is max, -1 is min).
      @param write Write speed in k/s (0 is max, -1 is min).
  */
  void burn_drive_set_speed(struct burn_drive *d, int read, int write);


As we are at it, how about a log line like this one ?

  BRASERO_JOB_LOG (BRASERO_JOB (self), "Setting libburn write speed to
%d", rate);

Now: Arise ye users from your slumber, and get some Ubuntu maintainer
to verify my findings, to install a patch and to report upstream.


Have a nice day :)

Thomas

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to brasero in Ubuntu.
https://bugs.launchpad.net/bugs/656297

Title:
  Brasero always burns CD/DVD at max speed (speed option is ignored)

Status in A disc burning application for gnome 2:
  New
Status in The Linux Mint Distribution:
  New
Status in “brasero” package in Ubuntu:
  Triaged
Status in Baltix GNU/Linux:
  New

Bug description:
  Binary package hint: brasero

  The disc I tried is Verbatim CD-RW 1-4x speed. The option are given to
  burn, 4,8,10.MAX. I choose 4, but still burns up to 10.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: brasero 2.32.0-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
  Uname: Linux 2.6.35-22-generic i686
  NonfreeKernelModules: nvidia
  Architecture: i386
  Date: Thu Oct  7 13:45:54 2010
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=pl_PL.utf8
   SHELL=/bin/bash
  SourcePackage: brasero

To manage notifications about this bug go to:
https://bugs.launchpad.net/brasero/+bug/656297/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to