~ubuntu-branches/ubuntu/precise/gst-plugins-bad0.10/precise-proposed

« back to all changes in this revision

Viewing changes to gst/rawparse/plugin.c

Tags: upstream-0.10.5.3
Import upstream version 0.10.5.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifdef HAVE_CONFIG_H
 
2
#  include "config.h"
 
3
#endif
 
4
 
 
5
#include <gst/gst.h>
 
6
#include "gstaudioparse.h"
 
7
#include "gstvideoparse.h"
 
8
 
 
9
static gboolean
 
10
plugin_init (GstPlugin * plugin)
 
11
{
 
12
  gboolean ret;
 
13
 
 
14
  ret = gst_element_register (plugin, "videoparse", GST_RANK_NONE,
 
15
      gst_video_parse_get_type ());
 
16
  ret &= gst_element_register (plugin, "audioparse", GST_RANK_NONE,
 
17
      gst_audio_parse_get_type ());
 
18
 
 
19
  return ret;
 
20
}
 
21
 
 
22
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
 
23
    GST_VERSION_MINOR,
 
24
    "rawparse",
 
25
    "Parses byte streams into raw frames",
 
26
    plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);