summaryrefslogtreecommitdiffstats
path: root/sys/dshowsrcwrapper/gstdshowvideosrc.h
diff options
context:
space:
mode:
authorDave Robillard <dave@drobilla.net>2009-08-12 01:09:07 -0400
committerDave Robillard <dave@drobilla.net>2009-08-12 01:09:07 -0400
commite46ff7bda0f7996b456476dccb4a822688a690fb (patch)
tree72f36b99c236a9a042c82702f99351456762de78 /sys/dshowsrcwrapper/gstdshowvideosrc.h
parentdd5afbf0c6557ad89994cbfd91e4117e8503b81a (diff)
parent7c7b82e7141b83e987be2142e7334d21407529fe (diff)
downloadgst-plugins-bad-e46ff7bda0f7996b456476dccb4a822688a690fb.tar.gz
gst-plugins-bad-e46ff7bda0f7996b456476dccb4a822688a690fb.tar.bz2
gst-plugins-bad-e46ff7bda0f7996b456476dccb4a822688a690fb.zip
Merge branch 'master' of git://anongit.freedesktop.org/gstreamer/gst-plugins-bad into fdo
Diffstat (limited to 'sys/dshowsrcwrapper/gstdshowvideosrc.h')
-rw-r--r--[-rwxr-xr-x]sys/dshowsrcwrapper/gstdshowvideosrc.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/dshowsrcwrapper/gstdshowvideosrc.h b/sys/dshowsrcwrapper/gstdshowvideosrc.h
index bf94e61f..41583071 100755..100644
--- a/sys/dshowsrcwrapper/gstdshowvideosrc.h
+++ b/sys/dshowsrcwrapper/gstdshowvideosrc.h
@@ -42,6 +42,18 @@ G_BEGIN_DECLS
typedef struct _GstDshowVideoSrc GstDshowVideoSrc;
typedef struct _GstDshowVideoSrcClass GstDshowVideoSrcClass;
+/* video default properties associated to a video format (YUY2, I420, RGB24 ...) */
+typedef struct _GstCaptureVideoDefault
+{
+ gint defaultWidth;
+ gint defaultHeight;
+ gint defaultFPS;
+
+ gint granularityWidth; //will be removed when GST_TYPE_INT_RANGE_STEP exits
+ gint granularityHeight; //will be removed when GST_TYPE_INT_RANGE_STEP exits
+
+} GstCaptureVideoDefault;
+
struct _GstDshowVideoSrc
{
GstPushSrc src;
@@ -55,6 +67,9 @@ struct _GstDshowVideoSrc
/* list of caps created from the list of supported media types of the dshow capture filter */
GstCaps *caps;
+ /* list of dshow default video properties from filter's capture pins */
+ GList *video_defaults;
+
/* list of dshow media types from the filter's capture pins */
GList *pins_mediatypes;