From ff7381109ff9f99f714d2b333dcaf906f58fa12c Mon Sep 17 00:00:00 2001 From: Carl-Anton Ingmarsson Date: Sat, 28 Nov 2009 23:58:57 +0100 Subject: [PATCH] vdpau: make GstVdpVideoSrcPad(Class)? private --- sys/vdpau/gstvdpvideosrcpad.c | 20 ++++++++++++++++++++ sys/vdpau/gstvdpvideosrcpad.h | 20 -------------------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/sys/vdpau/gstvdpvideosrcpad.c b/sys/vdpau/gstvdpvideosrcpad.c index 4d01f359a9..abf64fac06 100644 --- a/sys/vdpau/gstvdpvideosrcpad.c +++ b/sys/vdpau/gstvdpvideosrcpad.c @@ -31,6 +31,26 @@ enum PROP_DISPLAY }; +struct _GstVdpVideoSrcPad +{ + GstPad pad; + + GstCaps *caps; + GstVdpDevice *device; + + gboolean yuv_output; + gint width, height; + guint32 fourcc; + + /* properties */ + gchar *display; +}; + +struct _GstVdpVideoSrcPadClass +{ + GstPadClass pad_class; +}; + #define DEBUG_INIT(bla) \ GST_DEBUG_CATEGORY_INIT (gst_vdp_video_src_pad_debug, "vdpvideosrcpad", 0, "GstVdpVideoSrcPad"); diff --git a/sys/vdpau/gstvdpvideosrcpad.h b/sys/vdpau/gstvdpvideosrcpad.h index de2c421867..4d7c2c2f0c 100644 --- a/sys/vdpau/gstvdpvideosrcpad.h +++ b/sys/vdpau/gstvdpvideosrcpad.h @@ -38,26 +38,6 @@ G_BEGIN_DECLS typedef struct _GstVdpVideoSrcPad GstVdpVideoSrcPad; typedef struct _GstVdpVideoSrcPadClass GstVdpVideoSrcPadClass; -struct _GstVdpVideoSrcPad -{ - GstPad pad; - - GstCaps *caps; - GstVdpDevice *device; - - gboolean yuv_output; - gint width, height; - guint32 fourcc; - - /* properties */ - gchar *display; -}; - -struct _GstVdpVideoSrcPadClass -{ - GstPadClass pad_class; -}; - GstFlowReturn gst_vdp_video_src_pad_push (GstVdpVideoSrcPad *vdp_pad, GstVdpVideoBuffer *video_buf); GstFlowReturn gst_vdp_video_src_pad_alloc_buffer (GstVdpVideoSrcPad *vdp_pad, GstVdpVideoBuffer **video_buf);