sbGStreamerMetadataHandler.cpp File Reference
#include "sbGStreamerMetadataHandler.h"
#include "sbGStreamerMediacoreCID.h"
#include "sbGStreamerMediacoreUtils.h"
#include <sbIGStreamerService.h>
#include <sbIMediacoreCapabilities.h>
#include <sbMemoryUtils.h>
#include <sbStandardProperties.h>
#include <sbPropertiesCID.h>
#include <nsComponentManagerUtils.h>
#include <nsProxyRelease.h>
#include <nsServiceManagerUtils.h>
#include <nsThreadUtils.h>
#include <nsIStringEnumerator.h>
#include <nsIURI.h>
#include <nsUnicharUtils.h>
#include <prlog.h>
#include <prtime.h>
#include <gst/pbutils/missing-plugins.h>
Include dependency graph for sbGStreamerMetadataHandler.cpp:

Go to the source code of this file.

Macros

#define METADATA_TIMEOUT   (30 * PR_MSEC_PER_SEC)
 
#define TRACE(args)   /* nothing */
 
#define LOG(args)   /* nothing */
 

Functions

 SB_AUTO_CLASS (sbGstElement, GstElement *,!!mValue, gst_object_unref(mValue), mValue=NULL)
 
 SB_AUTO_CLASS (sbGstBus, GstBus *,!!mValue, gst_object_unref(mValue), mValue=NULL)
 
 SB_AUTO_CLASS (sbGstPad, GstPad *,!!mValue, gst_object_unref(mValue), mValue=NULL)
 
 NS_IMPL_THREADSAFE_ISUPPORTS2 (sbGStreamerMetadataHandler, sbIMetadataHandler, nsITimerCallback) sbGStreamerMetadataHandler
 
static PRBool HasExtensionInEnumerator (const nsAString &aHaystack, nsIStringEnumerator *aEnum)
 
static void AddIntPropFromCaps (GstStructure *aStruct, const gchar *aFieldName, const char *aPropName, sbIMutablePropertyArray *aProps)
 

Macro Definition Documentation

#define LOG (   args)    /* nothing */

Definition at line 71 of file sbGStreamerMetadataHandler.cpp.

#define METADATA_TIMEOUT   (30 * PR_MSEC_PER_SEC)

Definition at line 53 of file sbGStreamerMetadataHandler.cpp.

#define TRACE (   args)    /* nothing */

Definition at line 70 of file sbGStreamerMetadataHandler.cpp.

Function Documentation

static void AddIntPropFromCaps ( GstStructure *  aStruct,
const gchar *  aFieldName,
const char *  aPropName,
sbIMutablePropertyArray aProps 
)
static

Definition at line 661 of file sbGStreamerMetadataHandler.cpp.

Here is the caller graph for this function:

static PRBool HasExtensionInEnumerator ( const nsAString &  aHaystack,
nsIStringEnumerator aEnum 
)
static

Definition at line 215 of file sbGStreamerMetadataHandler.cpp.

Here is the caller graph for this function:

NS_IMPL_THREADSAFE_ISUPPORTS2 ( sbGStreamerMetadataHandler  ,
sbIMetadataHandler  ,
nsITimerCallback   
)

Definition at line 90 of file sbGStreamerMetadataHandler.cpp.

SB_AUTO_CLASS ( sbGstElement  ,
GstElement *  ,
!!  mValue,
gst_object_unref(mValue)  ,
mValue  = NULL 
)
SB_AUTO_CLASS ( sbGstBus  ,
GstBus *  ,
!!  mValue,
gst_object_unref(mValue)  ,
mValue  = NULL 
)
SB_AUTO_CLASS ( sbGstPad  ,
GstPad *  ,
!!  mValue,
gst_object_unref(mValue)  ,
mValue  = NULL 
)