• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
plugin_init(GstPlugin * plugin)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     legacyrawparse,
25     "Parses byte streams into raw frames",
26     plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);
27