Writing via a temp file is way more expensive. (The old thumbnailer did
that.)

Dedicated pipe sounds like the way to go.

** Changed in: thumbnailer (Ubuntu)
     Assignee: (unassigned) => Michi Henning (michihenning)

** Changed in: thumbnailer (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to thumbnailer in Ubuntu.
https://bugs.launchpad.net/bugs/1556835

Title:
  vs-thumb should not rely on standard streams to communicate result
  image back

Status in thumbnailer package in Ubuntu:
  New

Bug description:
  vs-thumb right now streams extracted data to stdout by default (see
  [1]). The approach is brittle in the sense that any component (e.g.,
  gstreamer or gstreamer plugin) writing to stdout can easily break the
  thumbnail. We have zero control over stdout and should thus either:

    (1.) Rely on specifying an explicit temporary destination file or
    (2.) Open a dedicated communication pipe to communicate back the resulting 
thumbnail to the calling process.

  Please also see [2.] for the respective product bug.

  [1.] 
http://bazaar.launchpad.net/~unity-team/thumbnailer/trunk/view/head:/src/vs-thumb/thumbnailextractor.cpp#L371
  [2.] https://bugs.launchpad.net/zhongshan/+bug/1554867

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thumbnailer/+bug/1556835/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to