diff options
Diffstat (limited to 'gst/rawparse/plugin.c')
-rw-r--r-- | gst/rawparse/plugin.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gst/rawparse/plugin.c b/gst/rawparse/plugin.c new file mode 100644 index 00000000..250be6de --- /dev/null +++ b/gst/rawparse/plugin.c @@ -0,0 +1,26 @@ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include <gst/gst.h> +#include "gstaudioparse.h" +#include "gstvideoparse.h" + +static gboolean +plugin_init (GstPlugin * plugin) +{ + gboolean ret; + + ret = gst_element_register (plugin, "videoparse", GST_RANK_NONE, + gst_video_parse_get_type ()); + ret &= gst_element_register (plugin, "audioparse", GST_RANK_NONE, + gst_audio_parse_get_type ()); + + return ret; +} + +GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, + GST_VERSION_MINOR, + "rawparse", + "Parses byte streams into raw frames", + plugin_init, VERSION, "LGPL", GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN); |