summaryrefslogtreecommitdiff
path: root/sys/dshowsrcwrapper/gstdshow.h
diff options
context:
space:
mode:
authorJulien Isorce <julien.isorce@gmail.com>2009-09-04 16:29:53 +0200
committerJulien Isorce <julien.isorce@gmail.com>2009-09-04 16:29:53 +0200
commite806e7aaeb8492ea48c75a0e73e10529cdb2d7aa (patch)
treefc1dd70ae8711778394c33b24042fcbaf0cc3e59 /sys/dshowsrcwrapper/gstdshow.h
parentbdbcbc743c8d6c9c61a8193dba3be9a4543abf88 (diff)
downloadgstreamer-plugins-bad-e806e7aaeb8492ea48c75a0e73e10529cdb2d7aa.tar.gz
dshowvideosrc: move VIDEO_STREAM_CONFIG_CAPS to GstCapturePinMediaType
Diffstat (limited to 'sys/dshowsrcwrapper/gstdshow.h')
-rwxr-xr-xsys/dshowsrcwrapper/gstdshow.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dshowsrcwrapper/gstdshow.h b/sys/dshowsrcwrapper/gstdshow.h
index 3b9110943..549e000f0 100755
--- a/sys/dshowsrcwrapper/gstdshow.h
+++ b/sys/dshowsrcwrapper/gstdshow.h
@@ -36,6 +36,8 @@ typedef struct _GstCapturePinMediaType
AM_MEDIA_TYPE *mediatype;
IPin *capture_pin;
+ VIDEO_STREAM_CONFIG_CAPS vscc;
+
//default caps
gint defaultWidth;
gint defaultHeight;
@@ -51,6 +53,9 @@ void gst_dshow_free_pin_mediatype (gpointer pt);
/* free memory of the input dshow mediatype */
void gst_dshow_free_mediatype (AM_MEDIA_TYPE *pmt);
+/* create a new capture media type that handles dshow video caps of a capture pin */
+GstCapturePinMediaType *gst_dshow_new_pin_mediatype (IPin *pin, gint id, IAMStreamConfig * streamcaps);
+
/* free the memory of all mediatypes of the input list if pin mediatype */
void gst_dshow_free_pins_mediatypes (GList *mediatypes);
@@ -74,6 +79,6 @@ gboolean gst_dshow_show_propertypage (IBaseFilter *base_filter);
/* transform a dshow video caps to a gstreamer video caps */
GstCaps *gst_dshow_new_video_caps (GstVideoFormat video_format, const gchar* name,
- const VIDEO_STREAM_CONFIG_CAPS * vscc, GstCapturePinMediaType *pin_mediatype);
+ GstCapturePinMediaType *pin_mediatype);
#endif /* _GSTDSHOW_ */ \ No newline at end of file