#include <sbGStreamerMediaInspector.h>
Public Member Functions | |
NS_DECL_ISUPPORTS NS_DECL_NSICLASSINFO NS_DECL_SBIMEDIAINSPECTOR NS_DECL_SBIJOBPROGRESS NS_DECL_SBIJOBCANCELABLE NS_DECL_NSITIMERCALLBACK | sbGStreamerMediaInspector () |
Public Member Functions inherited from sbGStreamerPipeline | |
NS_DECL_ISUPPORTS NS_DECL_NSICLASSINFO NS_DECL_SBIMEDIACOREEVENTTARGET NS_DECL_SBIGSTREAMERPIPELINE | sbGStreamerPipeline () |
virtual | ~sbGStreamerPipeline () |
virtual void | HandleMessage (GstMessage *message) |
virtual PRBool | HandleSynchronousMessage (GstMessage *message) |
nsresult | InitGStreamer () |
Public Member Functions inherited from sbIGStreamerPipeline | |
void | stopPipeline () |
void | pausePipeline () |
void | playPipeline () |
Public Member Functions inherited from sbIMediacoreEventTarget | |
void | addListener (in sbIMediacoreEventListener aListener) |
void | removeListener (in sbIMediacoreEventListener aListener) |
boolean | dispatchEvent (in sbIMediacoreEvent aEvent, [optional] in boolean aAsync) |
Public Member Functions inherited from sbIMediaInspector | |
sbIMediaFormat | inspectMediaURI (in AString aURI) |
sbIMediaFormat | inspectMedia (in sbIMediaItem aMediaItem) |
void | inspectMediaURIAsync (in AString aURI) |
void | inspectMediaAsync (in sbIMediaItem aMediaItem) |
Public Member Functions inherited from sbIJobProgress | |
nsIStringEnumerator | getErrorMessages () |
Enumerate all the errors encountered during the job. More... | |
void | addJobProgressListener (in sbIJobProgressListener aListener) |
Add a listener to be notified when significant job progress has been made. More... | |
void | removeJobProgressListener (in sbIJobProgressListener aListener) |
Remove a previously added listener. More... | |
Public Member Functions inherited from sbIJobCancelable | |
void | cancel () |
Attempt to cancel the job Throws NS_ERROR_FAILURE if canceling fails. More... | |
Additional Inherited Members | |
Public Attributes inherited from sbIMediaInspector | |
readonly attribute sbIMediaFormat | mediaFormat |
Public Attributes inherited from sbIJobProgress | |
const unsigned short | STATUS_FAILED = 0x00 |
Constant indicating that the job has completed with errors. More... | |
const unsigned short | STATUS_SUCCEEDED = 0x10 |
Constant indicating that the job has completed. More... | |
const unsigned short | STATUS_RUNNING = 0x20 |
Constant indicating that the job is active. More... | |
readonly attribute unsigned short | status |
Current status of the job. More... | |
readonly attribute boolean | blocked |
If true, progress of job is blocked (e.g., due to locked resource). More... | |
readonly attribute AString | statusText |
Localized message describing the status of the job. More... | |
readonly attribute AString | titleText |
Localized message describing the type or purpose of the job. More... | |
readonly attribute unsigned long | progress |
Number of work units completed. More... | |
readonly attribute unsigned long | total |
Total number of work units to be completed May be set to 0 if the job length is indeterminate. More... | |
readonly attribute unsigned long | errorCount |
Number of errors that have been encountered. More... | |
Public Attributes inherited from sbIJobCancelable | |
readonly attribute boolean | canCancel |
True if it is possible to cancel the job. More... | |
Protected Member Functions inherited from sbGStreamerPipeline | |
virtual void | HandleEOSMessage (GstMessage *message) |
virtual void | HandleWarningMessage (GstMessage *message) |
virtual void | HandleTagMessage (GstMessage *message) |
virtual void | HandleBufferingMessage (GstMessage *message) |
virtual nsresult | OnDestroyPipeline (GstElement *pipeline) |
virtual nsresult | SetupPipeline () |
virtual nsresult | DestroyPipeline () |
void | SetPipelineOp (GStreamer::pipelineOp_t aPipelineOp) |
GStreamer::pipelineOp_t | GetPipelineOp () |
void | DispatchMediacoreEvent (unsigned long type, nsIVariant *aData=NULL, sbIMediacoreError *aError=NULL) |
GstClockTime | GetRunningTime () |
Protected Attributes inherited from sbGStreamerPipeline | |
GstElement * | mPipeline |
nsString | mResourceDisplayName |
GstClockTime | mTimeRunning |
PRIntervalTime | mTimeStarted |
PRMonitor * | mMonitor |
GStreamer::pipelineOp_t | mPipelineOp |
nsAutoPtr < sbBaseMediacoreEventTarget > | mBaseEventTarget |
Definition at line 43 of file sbGStreamerMediaInspector.h.
sbGStreamerMediaInspector::sbGStreamerMediaInspector | ( | ) |
Definition at line 80 of file sbGStreamerMediaInspector.cpp.