~ubuntu-branches/ubuntu/wily/thumbnailer/wily

« back to all changes in this revision

Viewing changes to src/vs-thumb.cpp

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Jussi Pakkanen
  • Date: 2014-11-06 05:38:14 UTC
  • mfrom: (1.1.23)
  • Revision ID: package-import@ubuntu.com-20141106053814-fjymdz3gzqrr43g5
Tags: 1.3+15.04.20141106-0ubuntu1
[ Jussi Pakkanen ]
* Fix memory leak.
* Use videoflip to fix orientation. (LP: #1191934)

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    gint64 duration, seek_point;
39
39
    string pipe_cmd = "filesrc location=\"";
40
40
    pipe_cmd += ifname;
41
 
    pipe_cmd += "\" ! decodebin ! videoconvert ! videoscale !";
 
41
    pipe_cmd += "\" ! decodebin ! videoflip method=automatic ! videoconvert ! videoscale !";
42
42
    pipe_cmd += "appsink name=sink caps=\"";
43
43
    pipe_cmd += caps_string;
44
44
    pipe_cmd += "\"";