summaryrefslogtreecommitdiffstats
path: root/sys/dshowsrcwrapper/gstdshowvideosrc.h
diff options
context:
space:
mode:
authorDave Robillard <dave@drobilla.net>2009-08-12 01:09:13 -0400
committerDave Robillard <dave@drobilla.net>2009-08-12 01:09:13 -0400
commit41f47a3d610a99ac7e3ed85f6ef3f5c130487c36 (patch)
tree32e5a05cae35f825d43e8439ff6040e3d0c2e90d /sys/dshowsrcwrapper/gstdshowvideosrc.h
parent882524e727a1c378be79f0425298243c24aa3adf (diff)
parente46ff7bda0f7996b456476dccb4a822688a690fb (diff)
downloadgst-plugins-bad-41f47a3d610a99ac7e3ed85f6ef3f5c130487c36.tar.gz
gst-plugins-bad-41f47a3d610a99ac7e3ed85f6ef3f5c130487c36.tar.bz2
gst-plugins-bad-41f47a3d610a99ac7e3ed85f6ef3f5c130487c36.zip
Merge branch 'fdo' into lv2
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;