ofDocsdocumentation video ofGstUtils

ofGstUtils


busFunction( ... )

bool busFunction(GstBus *bus, GstMessage *message, ofGstUtils *app)

close( )

void close()

eos_cb( )

void eos_cb()

getDuration( )

float getDuration()

getDurationNanos( )

int64_t getDurationNanos()

getGstElementByName( ... )

GstElement * getGstElementByName(const string &name)

getGstMainLoop( )

GMainLoop * getGstMainLoop()

getIsMovieDone( )

bool getIsMovieDone()

getLoopState( )

ofLoopType getLoopState()

getMaxLatencyNanos( )

uint64_t getMaxLatencyNanos()

getMinLatencyNanos( )

uint64_t getMinLatencyNanos()

getPipeline( )

GstElement * getPipeline()

getPosition( )

float getPosition()

getSink( )

GstElement * getSink()

getSpeed( )

float getSpeed()

gstHandleMessage( ... )

bool gstHandleMessage(GstBus *bus, GstMessage *message)

isFrameByFrame( )

bool isFrameByFrame()

isLoaded( )

bool isLoaded()

isPaused( )

bool isPaused()

isPlaying( )

bool isPlaying()

ofGstUtils( )

ofGstUtils()

play( )

void play()

quitGstMainLoop( )

void quitGstMainLoop()

setFrameByFrame( ... )

void setFrameByFrame(bool bFrameByFrame)

setLoopState( ... )

void setLoopState(ofLoopType state)

setPaused( ... )

void setPaused(bool bPause)

setPipelineWithSink( ... )

bool setPipelineWithSink(GstElement *pipeline, GstElement *sink, bool isStream=false)

setPipelineWithSink( ... )

bool setPipelineWithSink(string pipeline, string sinkname, bool isStream=false)

setPosition( ... )

void setPosition(float pct)

setSinkListener( ... )

void setSinkListener(ofGstAppSink *appsink)

setSpeed( ... )

void setSpeed(float speed)

setVolume( ... )

void setVolume(float volume)

startGstMainLoop( )

void startGstMainLoop()

startPipeline( )

bool startPipeline()

stop( )

void stop()

~ofGstUtils( )

~ofGstUtils()