Imported Upstream version 0.10.23
[profile/ivi/gst-plugins-bad.git] / sys / vdpau / gstvdp / gstvdp.c
1 /* 
2  * GStreamer
3  * Copyright (C) 2009 Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18  * Boston, MA 02111-1307, USA.
19  */
20
21 #include <gst/gst.h>
22
23 #include "gstvdpdevice.h"
24 #include "gstvdpvideobuffer.h"
25 #include "gstvdpvideosrcpad.h"
26 #include "gstvdpoutputbuffer.h"
27 #include "gstvdpoutputsrcpad.h"
28 #include "gstvdpdecoder.h"
29
30 #include "gstvdp.h"
31
32 GST_DEBUG_CATEGORY (gst_vdp_debug);
33
34 void
35 gst_vdp_init (void)
36 {
37   /* do this so debug categories get created */
38   gst_vdp_device_get_type ();
39   gst_vdp_output_buffer_get_type ();
40   gst_vdp_video_buffer_get_type ();
41   gst_vdp_video_src_pad_get_type ();
42   gst_vdp_output_src_pad_get_type ();
43   gst_vdp_decoder_get_type ();
44
45   GST_DEBUG_CATEGORY_INIT (gst_vdp_debug, "vdp", 0, "GstVdp debug category");
46 }