MLT  7.38.0
Multimedia Framework
MltConsumer.h
Go to the documentation of this file.
1 
20 #ifndef MLTPP_CONSUMER_H
21 #define MLTPP_CONSUMER_H
22 
23 #include "MltConfig.h"
24 
25 #include <framework/mlt.h>
26 
27 #include "MltService.h"
28 
29 namespace Mlt {
30 class Service;
31 class Profile;
32 
43 {
44 private:
46 
47 public:
48  Consumer();
49  Consumer(Profile &profile);
51  Consumer(Profile &profile, const char *id, const char *service = NULL);
52  Consumer(mlt_profile profile, const char *id, const char *service = NULL);
53  Consumer(Service &consumer);
54  Consumer(Consumer &consumer);
56  Consumer(mlt_consumer consumer);
57  virtual ~Consumer();
58  virtual mlt_consumer get_consumer();
59  mlt_service get_service() override;
61  virtual int connect(Service &service);
63  int run();
65  int start();
67  void purge();
69  int stop();
71  bool is_stopped();
73  int position();
74 };
75 } // namespace Mlt
76 
77 #endif
#define MLTPP_DECLSPEC
MltConfig.h - Convenience header file for all mlt++ objects Copyright (C) 2004-2026 Meltytech,...
Definition: MltConfig.h:33
C++ wrapper for mlt_consumer — pulls and outputs audio/video.
Definition: MltConsumer.h:43
mlt_consumer instance
Definition: MltConsumer.h:45
C++ wrapper for mlt_profile — video format parameters.
Definition: MltProfile.h:45
C++ wrapper for mlt_service — abstract base for all MLT services.
Definition: MltService.h:47
header file for lazy client and implementation code :-)
MLT C++ wrapper Copyright (C) 2015-2026 Meltytech, LLC.
Definition: MltAnimation.h:27
Consumer abstract service class.
Definition: mlt_consumer.h:96
Profile class.
Definition: mlt_profile.h:36
Service abstract base class.
Definition: mlt_service.h:59