#include "mozilla-config.h"
#include <gst/gst.h>
#include <gst/base/gstbasesink.h>
#include <nsComponentManagerUtils.h>
#include <nsServiceManagerUtils.h>
#include <nsCOMPtr.h>
#include <nsIOutputStream.h>
#include <nsIProxyObjectManager.h>
#include "mozillaplugin.h"
Go to the source code of this file.
|
| GST_DEBUG_CATEGORY_STATIC (mozilla_sink_debug) |
|
static void | gst_mozilla_sink_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) |
|
static void | gst_mozilla_sink_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) |
|
static GstFlowReturn | gst_mozilla_sink_render (GstBaseSink *bsink, GstBuffer *buf) |
|
static gboolean | gst_mozilla_sink_start (GstBaseSink *bsink) |
|
static gboolean | gst_mozilla_sink_stop (GstBaseSink *bsink) |
|
static gboolean | gst_mozilla_sink_event (GstBaseSink *bsink, GstEvent *event) |
|
static void | gst_mozilla_sink_close_stream (GstMozillaSink *sink) |
|
static void | gst_mozilla_sink_flush_stream (GstMozillaSink *sink) |
|
| GST_BOILERPLATE (GstMozillaSink, gst_mozilla_sink, GstBaseSink, GST_TYPE_BASE_SINK) |
|
static void | gst_mozilla_sink_base_init (gpointer g_class) |
|
static void | gst_mozilla_sink_class_init (GstMozillaSinkClass *klass) |
|
static void | gst_mozilla_sink_init (GstMozillaSink *sink, GstMozillaSinkClass *g_class) |
|
#define GST_CAT_DEFAULT mozilla_sink_debug |
GST_BOILERPLATE |
( |
GstMozillaSink |
, |
|
|
gst_mozilla_sink |
, |
|
|
GstBaseSink |
, |
|
|
GST_TYPE_BASE_SINK |
|
|
) |
| |
GST_DEBUG_CATEGORY_STATIC |
( |
mozilla_sink_debug |
| ) |
|
static void gst_mozilla_sink_base_init |
( |
gpointer |
g_class | ) |
|
|
static |
static gboolean gst_mozilla_sink_event |
( |
GstBaseSink * |
bsink, |
|
|
GstEvent * |
event |
|
) |
| |
|
static |
static void gst_mozilla_sink_get_property |
( |
GObject * |
object, |
|
|
guint |
prop_id, |
|
|
GValue * |
value, |
|
|
GParamSpec * |
pspec |
|
) |
| |
|
static |
static GstFlowReturn gst_mozilla_sink_render |
( |
GstBaseSink * |
bsink, |
|
|
GstBuffer * |
buf |
|
) |
| |
|
static |
static void gst_mozilla_sink_set_property |
( |
GObject * |
object, |
|
|
guint |
prop_id, |
|
|
const GValue * |
value, |
|
|
GParamSpec * |
pspec |
|
) |
| |
|
static |
static gboolean gst_mozilla_sink_start |
( |
GstBaseSink * |
bsink | ) |
|
|
static |
static gboolean gst_mozilla_sink_stop |
( |
GstBaseSink * |
bsink | ) |
|
|
static |
const GstElementDetails gst_mozilla_sink_details |
|
static |
Initial value:=
GST_ELEMENT_DETAILS ((gchar *)"Mozilla nsIOutputStream sink",
(gchar *)"Sink",
(gchar *)"Write data to a hosting mozilla "
"application's output stream API",
(gchar *)"Pioneers of the Inevitable <songbird@songbirdnest.com")
Definition at line 58 of file mozillasink.cpp.
GstStaticPadTemplate sink_template |
|
static |
Initial value:= GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
GST_STATIC_CAPS_ANY)
Definition at line 65 of file mozillasink.cpp.