MLT  7.28.0
Data Structures | Macros | Functions
mlt_consumer.h File Reference

abstraction for all consumer services More...

#include "mlt_events.h"
#include "mlt_service.h"
#include <pthread.h>

Go to the source code of this file.

Data Structures

struct  mlt_consumer_s
 Consumer abstract service class. More...
 

Macros

#define MLT_CONSUMER_PROPERTIES(consumer)   MLT_SERVICE_PROPERTIES(MLT_CONSUMER_SERVICE(consumer))
 
#define MLT_CONSUMER_SERVICE(consumer)   (&(consumer)->parent)
 

Functions

void mlt_consumer_close (mlt_consumer)
 
int mlt_consumer_connect (mlt_consumer self, mlt_service producer)
 
mlt_frame mlt_consumer_get_frame (mlt_consumer self)
 
int mlt_consumer_init (mlt_consumer self, void *child, mlt_profile profile)
 
int mlt_consumer_is_stopped (mlt_consumer self)
 
mlt_consumer mlt_consumer_new (mlt_profile profile)
 
mlt_position mlt_consumer_position (mlt_consumer)
 
mlt_properties mlt_consumer_properties (mlt_consumer self)
 
void mlt_consumer_purge (mlt_consumer self)
 
int mlt_consumer_put_frame (mlt_consumer self, mlt_frame frame)
 
mlt_frame mlt_consumer_rt_frame (mlt_consumer self)
 
mlt_service mlt_consumer_service (mlt_consumer self)
 
int mlt_consumer_start (mlt_consumer self)
 
int mlt_consumer_stop (mlt_consumer self)
 
void mlt_consumer_stopped (mlt_consumer self)
 

Detailed Description

abstraction for all consumer services

See also
mlt_consumer_s

Copyright (C) 2003-2022 Meltytech, LLC

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Macro Definition Documentation

◆ MLT_CONSUMER_PROPERTIES

#define MLT_CONSUMER_PROPERTIES (   consumer)    MLT_SERVICE_PROPERTIES(MLT_CONSUMER_SERVICE(consumer))

◆ MLT_CONSUMER_SERVICE

#define MLT_CONSUMER_SERVICE (   consumer)    (&(consumer)->parent)

Function Documentation

◆ mlt_consumer_close()

void mlt_consumer_close ( mlt_consumer  )

◆ mlt_consumer_connect()

int mlt_consumer_connect ( mlt_consumer  self,
mlt_service  producer 
)

◆ mlt_consumer_get_frame()

mlt_frame mlt_consumer_get_frame ( mlt_consumer  self)

◆ mlt_consumer_init()

int mlt_consumer_init ( mlt_consumer  self,
void *  child,
mlt_profile  profile 
)

◆ mlt_consumer_is_stopped()

int mlt_consumer_is_stopped ( mlt_consumer  self)

◆ mlt_consumer_new()

mlt_consumer mlt_consumer_new ( mlt_profile  profile)

◆ mlt_consumer_position()

mlt_position mlt_consumer_position ( mlt_consumer  )

◆ mlt_consumer_properties()

mlt_properties mlt_consumer_properties ( mlt_consumer  self)

◆ mlt_consumer_purge()

void mlt_consumer_purge ( mlt_consumer  self)

◆ mlt_consumer_put_frame()

int mlt_consumer_put_frame ( mlt_consumer  self,
mlt_frame  frame 
)

◆ mlt_consumer_rt_frame()

mlt_frame mlt_consumer_rt_frame ( mlt_consumer  self)

◆ mlt_consumer_service()

mlt_service mlt_consumer_service ( mlt_consumer  self)

◆ mlt_consumer_start()

int mlt_consumer_start ( mlt_consumer  self)

◆ mlt_consumer_stop()

int mlt_consumer_stop ( mlt_consumer  self)

◆ mlt_consumer_stopped()

void mlt_consumer_stopped ( mlt_consumer  self)