sbGStreamerMetadataHandler Class Reference

#include <sbGStreamerMetadataHandler.h>

Inheritance diagram for sbGStreamerMetadataHandler:
[legend]
Collaboration diagram for sbGStreamerMetadataHandler:
[legend]

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_SBIMETADATAHANDLER
virtual
NS_DECL_NSITIMERCALLBACK void 
HandleMessage (GstMessage *message)
 
virtual PRBool HandleSynchronousMessage (GstMessage *message)
 
 sbGStreamerMetadataHandler ()
 
nsresult Init ()
 
- Public Member Functions inherited from sbGStreamerMessageHandler
virtual ~sbGStreamerMessageHandler ()
 

Protected Member Functions

void HandleTagMessage (GstMessage *message)
 
nsresult FinalizeTags (PRBool aSucceeded)
 

Static Protected Member Functions

static void on_pad_added (GstElement *decodeBin, GstPad *newPad, sbGStreamerMetadataHandler *self)
 
static void on_pad_caps_changed (GstPad *pad, GParamSpec *pspec, sbGStreamerMetadataHandler *data)
 

Protected Attributes

PRLock * mLock
 
GstElement * mPipeline
 
GstTagList * mTags
 
nsCOMPtr< sbIMutablePropertyArraymProperties
 
PRBool mHasAudio
 
PRBool mHasVideo
 
nsCOMPtr< nsIChannelmChannel
 
nsCOMPtr< nsITimer > mTimer
 
nsCOMPtr< sbIMediacoreFactorymFactory
 
nsCString mSpec
 
PRBool mCompleted
 

Additional Inherited Members

Detailed Description

Definition at line 46 of file sbGStreamerMetadataHandler.h.

Constructor & Destructor Documentation

sbGStreamerMetadataHandler::sbGStreamerMetadataHandler ( )

Member Function Documentation

nsresult sbGStreamerMetadataHandler::FinalizeTags ( PRBool  aSucceeded)
protected

Prepare the tags for reporting to the caller

Parameters
aSucceededtrue if metadata scanning had succeded

Definition at line 753 of file sbGStreamerMetadataHandler.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void sbGStreamerMetadataHandler::HandleMessage ( GstMessage *  message)
virtual

Implements sbGStreamerMessageHandler.

Definition at line 486 of file sbGStreamerMetadataHandler.cpp.

Here is the call graph for this function:

PRBool sbGStreamerMetadataHandler::HandleSynchronousMessage ( GstMessage *  message)
virtual

Implements sbGStreamerMessageHandler.

Definition at line 589 of file sbGStreamerMetadataHandler.cpp.

void sbGStreamerMetadataHandler::HandleTagMessage ( GstMessage *  message)
protected

Definition at line 727 of file sbGStreamerMetadataHandler.cpp.

Here is the caller graph for this function:

nsresult sbGStreamerMetadataHandler::Init ( )

Definition at line 115 of file sbGStreamerMetadataHandler.cpp.

void sbGStreamerMetadataHandler::on_pad_added ( GstElement *  decodeBin,
GstPad *  newPad,
sbGStreamerMetadataHandler self 
)
staticprotected

Definition at line 596 of file sbGStreamerMetadataHandler.cpp.

Here is the call graph for this function:

void sbGStreamerMetadataHandler::on_pad_caps_changed ( GstPad *  pad,
GParamSpec *  pspec,
sbGStreamerMetadataHandler data 
)
staticprotected

Definition at line 678 of file sbGStreamerMetadataHandler.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

nsCOMPtr<nsIChannel> sbGStreamerMetadataHandler::mChannel
protected

Definition at line 90 of file sbGStreamerMetadataHandler.h.

PRBool sbGStreamerMetadataHandler::mCompleted
protected

Definition at line 94 of file sbGStreamerMetadataHandler.h.

nsCOMPtr<sbIMediacoreFactory> sbGStreamerMetadataHandler::mFactory
protected

Definition at line 92 of file sbGStreamerMetadataHandler.h.

PRBool sbGStreamerMetadataHandler::mHasAudio
protected

Definition at line 78 of file sbGStreamerMetadataHandler.h.

PRBool sbGStreamerMetadataHandler::mHasVideo
protected

Definition at line 79 of file sbGStreamerMetadataHandler.h.

PRLock* sbGStreamerMetadataHandler::mLock
protected

Definition at line 69 of file sbGStreamerMetadataHandler.h.

GstElement* sbGStreamerMetadataHandler::mPipeline
protected

Definition at line 70 of file sbGStreamerMetadataHandler.h.

nsCOMPtr<sbIMutablePropertyArray> sbGStreamerMetadataHandler::mProperties
protected

Definition at line 76 of file sbGStreamerMetadataHandler.h.

nsCString sbGStreamerMetadataHandler::mSpec
protected

Definition at line 93 of file sbGStreamerMetadataHandler.h.

GstTagList* sbGStreamerMetadataHandler::mTags
protected

Definition at line 75 of file sbGStreamerMetadataHandler.h.

nsCOMPtr<nsITimer> sbGStreamerMetadataHandler::mTimer
protected

Definition at line 91 of file sbGStreamerMetadataHandler.h.


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