MLT  7.38.0
Multimedia Framework
MltPushConsumer.h
Go to the documentation of this file.
1 
20 #ifndef MLTPP_PUSH_CONSUMER_H
21 #define MLTPP_PUSH_CONSUMER_H
22 
23 #include "MltConfig.h"
24 
25 #include "MltConsumer.h"
26 
27 namespace Mlt {
28 class Frame;
29 class Service;
30 class PushPrivate;
31 class Profile;
32 
43 {
44 private:
46 
47 public:
48  PushConsumer(Profile &profile, const char *id, const char *service = NULL);
49  virtual ~PushConsumer();
50  void set_render(int width, int height, double aspect_ratio);
51  virtual int connect(Service &service) override;
52  int push(Frame *frame);
53  int push(Frame &frame);
54  int drain();
57  Frame *construct(int);
58 };
59 } // namespace Mlt
60 
61 #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
C++ wrapper for mlt_frame — a single unit of audio/video data.
Definition: MltFrame.h:43
C++ wrapper for mlt_profile — video format parameters.
Definition: MltProfile.h:45
A Consumer that accepts frames pushed in from external code.
Definition: MltPushConsumer.h:43
PushPrivate * m_private
Definition: MltPushConsumer.h:45
Definition: MltPushConsumer.cpp:26
C++ wrapper for mlt_service — abstract base for all MLT services.
Definition: MltService.h:47
static int push(mlt_parser self, int multitrack, int track, int position)
Definition: mlt_producer.c:906
MLT C++ wrapper Copyright (C) 2015-2026 Meltytech, LLC.
Definition: MltAnimation.h:27