summaryrefslogtreecommitdiffstats
path: root/sys/v4l2/gstv4l2src.h
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2007-09-05 14:43:16 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-09-05 14:43:16 +0000
commit7c69e902364f02b40c054befed6857fddb8b945d (patch)
tree05980ff023f7fdac568d1b353484cab1dbcf4b7c /sys/v4l2/gstv4l2src.h
parent3ee2bed9c63142a106d16406848a4729ad9c4005 (diff)
sys/v4l2/: Implement LATENCY queries in the crudest way possible so I don't have to use sync=false any longer when te...
Original commit message from CVS: * sys/v4l2/gstv4l2src.c: * sys/v4l2/gstv4l2src.h: * sys/v4l2/v4l2src_calls.c: Implement LATENCY queries in the crudest way possible so I don't have to use sync=false any longer when testing with videosinks.
Diffstat (limited to 'sys/v4l2/gstv4l2src.h')
-rw-r--r--sys/v4l2/gstv4l2src.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/v4l2/gstv4l2src.h b/sys/v4l2/gstv4l2src.h
index 809ddb46..f4677458 100644
--- a/sys/v4l2/gstv4l2src.h
+++ b/sys/v4l2/gstv4l2src.h
@@ -106,6 +106,8 @@ struct _GstV4l2Src
gboolean is_capturing;
guint64 offset;
+
+ gint fps_d, fps_n; /* framerate if device is open */
};
struct _GstV4l2SrcClass