~ubuntu-branches/ubuntu/utopic/thumbnailer/utopic-proposed

« back to all changes in this revision

Viewing changes to src/audioimageextractor.cpp

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Jussi Pakkanen, Ubuntu daily release
  • Date: 2013-10-08 12:49:51 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20131008124951-connm9zndgztf2dk
Tags: 1.0+13.10.20131008-0ubuntu1
[ Jussi Pakkanen ]
* Fix off by one error. (LP: #1235444)
* Disable use of in-process GStreamer because we use 1.0, which
  clashes with 0.10. (LP: #1235484)

[ Ubuntu daily release ]
* Automatic snapshot from revision 55

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
using namespace std;
27
27
 
 
28
class GstInitializer {
 
29
public:
 
30
    GstInitializer() { gst_init(nullptr, nullptr); };
 
31
};
 
32
 
28
33
class AudioImageExtractorPrivate {
29
34
};
30
35
 
48
53
}
49
54
 
50
55
AudioImageExtractor::AudioImageExtractor() {
 
56
    static GstInitializer i; // C++ standard guarantees this to be lazy and thread safe.
51
57
    p = new AudioImageExtractorPrivate();
52
58
}
53
59