FfmpegHandler Class Reference

This class is responsible for reading id3 tags metadata. More...

#include <ffmpeg_handler.h>

Inheritance diagram for FfmpegHandler:
MetadataHandler zmm::Object

Public Member Functions

 FfmpegHandler ()
virtual void fillMetadata (zmm::Ref< CdsItem > item)
virtual zmm::Ref< IOHandlerserveContent (zmm::Ref< CdsItem > item, int resNum, off_t *data_size)
virtual zmm::String getMimeType ()
void retain ()
void release ()
int getRefCount ()

Static Public Member Functions

static void setMetadata (zmm::Ref< CdsItem > item)
static zmm::String getMetaFieldName (metadata_fields_t field)
static zmm::String getResAttrName (resource_attributes_t attr)
static zmm::Ref< MetadataHandlercreateHandler (int handlerType)
static void * operator new (size_t size)
static void operator delete (void *ptr)

Protected Attributes

mt_atomic_t _ref_count
pthread_mutex_t mutex

Detailed Description

This class is responsible for reading id3 tags metadata.

Definition at line 44 of file ffmpeg_handler.h.


Constructor & Destructor Documentation

FfmpegHandler::FfmpegHandler (  ) 

Member Function Documentation

Ref< MetadataHandler > MetadataHandler::createHandler ( int  handlerType  )  [static, inherited]

Definition at line 257 of file metadata_handler.cc.

References _, _Exception, CH_FFTH, CH_ID3, CH_LIBEXIF, and CH_MP4.

Referenced by FileRequestHandler::get_info(), and FileRequestHandler::open().

virtual void FfmpegHandler::fillMetadata ( zmm::Ref< CdsItem item  )  [virtual]

Implements MetadataHandler.

String MetadataHandler::getMetaFieldName ( metadata_fields_t  field  )  [static, inherited]
virtual zmm::String FfmpegHandler::getMimeType (  )  [virtual]

Reimplemented from MetadataHandler.

int Object::getRefCount (  )  [inherited]

Definition at line 78 of file object.cc.

References zmm::Object::_ref_count, and atomic_get().

String MetadataHandler::getResAttrName ( resource_attributes_t  attr  )  [static, inherited]
void Object::operator delete ( void *  ptr  )  [static, inherited]

Definition at line 87 of file object.cc.

References FREE.

void * Object::operator new ( size_t  size  )  [static, inherited]

Definition at line 83 of file object.cc.

References MALLOC.

void Object::release (  )  [inherited]
void Object::retain (  )  [inherited]
virtual zmm::Ref<IOHandler> FfmpegHandler::serveContent ( zmm::Ref< CdsItem item,
int  resNum,
off_t *  data_size 
) [virtual]

Implements MetadataHandler.

void MetadataHandler::setMetadata ( zmm::Ref< CdsItem item  )  [static, inherited]

Field Documentation

mt_atomic_t zmm::Object::_ref_count [protected, inherited]
pthread_mutex_t zmm::Object::mutex [protected, inherited]

The documentation for this class was generated from the following file:

Generated on Fri Mar 26 20:16:57 2010 for MediaTomb by  doxygen 1.6.1