mozillaplugin.cpp
Go to the documentation of this file.
1 /* GStreamer
2  * Copyright (C) <2010> Pioneers of the Inevitable <songbird@songbirdnest.com>
3  *
4  * Authors: Steve Lloyd <slloyd@songbirdnest.com>
5  * Michael Smith <msmith@songbirdnest.com>
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Library General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Library General Public License for more
16  */
17 
18 #ifdef HAVE_CONFIG_H
19 #include "config.h"
20 #endif
21 
22 #include <gst/gst.h>
23 #include "mozillaplugin.h"
24 
25 static gboolean
26 plugin_init (GstPlugin * plugin)
27 {
28  if (!gst_element_register (plugin, "mozillasrc", GST_RANK_PRIMARY+1,
30  return FALSE;
31 
32  if (!gst_element_register (plugin, "mozillasink", GST_RANK_NONE,
34  return FALSE;
35 
36  return TRUE;
37 }
38 
39 extern "C" {
40  GST_PLUGIN_DEFINE (
41  GST_VERSION_MAJOR,
42  GST_VERSION_MINOR,
43  "mozilla",
44  "Mozilla source and sink",
50  )
51 }
#define GST_MOZ_VERSION
Definition: mozillaplugin.h:24
#define GST_MOZ_ORIGIN
Definition: mozillaplugin.h:27
#define GST_MOZ_PACKAGE
Definition: mozillaplugin.h:26
#define GST_TYPE_MOZILLA_SRC
Definition: mozillaplugin.h:31
static gboolean plugin_init(GstPlugin *plugin)
#define GST_TYPE_MOZILLA_SINK
Definition: mozillaplugin.h:43
#define GST_MOZ_LICENSE
Definition: mozillaplugin.h:25