summaryrefslogtreecommitdiffstats
path: root/sys/v4l2/v4l2_calls.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-03-02 21:58:52 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-03-02 21:58:52 +0000
commitc62995f2fc0bb404616311c43e9e4177d4c18dc1 (patch)
treeb7b7af383f87aa8341e6d06d91de98e678cb5433 /sys/v4l2/v4l2_calls.h
parentae500224ff1791a69689791901acab576d87546c (diff)
downloadgst-plugins-bad-c62995f2fc0bb404616311c43e9e4177d4c18dc1.tar.gz
gst-plugins-bad-c62995f2fc0bb404616311c43e9e4177d4c18dc1.tar.bz2
gst-plugins-bad-c62995f2fc0bb404616311c43e9e4177d4c18dc1.zip
Unification of the way to speak to v4l2 and v4l elements... Also fix a segfautl when doing gst-inspect v4l2src
Original commit message from CVS: Unification of the way to speak to v4l2 and v4l elements... Also fix a segfautl when doing gst-inspect v4l2src
Diffstat (limited to 'sys/v4l2/v4l2_calls.h')
-rw-r--r--sys/v4l2/v4l2_calls.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/sys/v4l2/v4l2_calls.h b/sys/v4l2/v4l2_calls.h
index db9adc08..e03c7abe 100644
--- a/sys/v4l2/v4l2_calls.h
+++ b/sys/v4l2/v4l2_calls.h
@@ -89,17 +89,14 @@ gboolean gst_v4l2_get_norm (GstV4l2Element *v4l2element,
gint *norm);
gboolean gst_v4l2_set_norm (GstV4l2Element *v4l2element,
gint norm);
-GList * gst_v4l2_get_norm_names (GstV4l2Element *v4l2element);
gboolean gst_v4l2_get_input (GstV4l2Element *v4l2element,
gint *input);
gboolean gst_v4l2_set_input (GstV4l2Element *v4l2element,
gint input);
-GList * gst_v4l2_get_input_names (GstV4l2Element *v4l2element);
gboolean gst_v4l2_get_output (GstV4l2Element *v4l2element,
gint *output);
gboolean gst_v4l2_set_output (GstV4l2Element *v4l2element,
gint output);
-GList * gst_v4l2_get_output_names (GstV4l2Element *v4l2element);
/* frequency control */
gboolean gst_v4l2_has_tuner (GstV4l2Element *v4l2element,
@@ -113,18 +110,17 @@ gboolean gst_v4l2_signal_strength (GstV4l2Element *v4l2element,
/* attribute control */
gboolean gst_v4l2_has_audio (GstV4l2Element *v4l2element);
-GList * gst_v4l2_get_attributes (GstV4l2Element *v4l2element);
-gboolean gst_v4l2_get_attribute (GstV4l2Element *v4l2element,
- gint attribute_num,
- gint *value);
-gboolean gst_v4l2_set_attribute (GstV4l2Element *v4l2element,
- gint attribute_num,
- gint value);
+gboolean gst_v4l2_get_attribute (GstElement *element,
+ const char *attribute,
+ int *value);
+gboolean gst_v4l2_set_attribute (GstElement *element,
+ const char *attribute,
+ const int value);
/* overlay */
gboolean gst_v4l2_set_display (GstV4l2Element *v4l2element,
const gchar *display);
-gboolean gst_v4l2_set_window (GstV4l2Element *v4l2element,
+gboolean gst_v4l2_set_window (GstElement *element,
gint x, gint y,
gint w, gint h,
struct v4l2_clip *clips,