summaryrefslogtreecommitdiff
path: root/src/lib/transcoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-11-09 00:51:31 +0000
committerCarl Hetherington <cth@carlh.net>2013-11-09 00:51:31 +0000
commitd33a11798fc39336eb9442f11a06a9a1f2470d83 (patch)
treeac3c8b51b36eeb729eff19b2f9a017c50cd3beb9 /src/lib/transcoder.h
parentc2679b662dfb8c3c654e85153ef6fb552e0a218c (diff)
Fix a few memory leaks.
Diffstat (limited to 'src/lib/transcoder.h')
-rw-r--r--src/lib/transcoder.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/transcoder.h b/src/lib/transcoder.h
index b1183b0bb..d7736d4e8 100644
--- a/src/lib/transcoder.h
+++ b/src/lib/transcoder.h
@@ -21,7 +21,6 @@
#include "encoder.h"
class Film;
-class Job;
class Encoder;
class VideoFilter;
class Player;
@@ -30,10 +29,7 @@ class Player;
class Transcoder : public boost::noncopyable
{
public:
- Transcoder (
- boost::shared_ptr<const Film> f,
- boost::shared_ptr<Job> j
- );
+ Transcoder (boost::shared_ptr<const Film>, boost::shared_ptr<Job>);
void go ();
@@ -46,8 +42,6 @@ public:
}
private:
- /** A Job that is running this Transcoder, or 0 */
- boost::shared_ptr<Job> _job;
boost::shared_ptr<Player> _player;
boost::shared_ptr<Encoder> _encoder;
bool _finishing;