diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-03-02 21:58:52 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-03-02 21:58:52 +0000 |
commit | c62995f2fc0bb404616311c43e9e4177d4c18dc1 (patch) | |
tree | b7b7af383f87aa8341e6d06d91de98e678cb5433 /sys/v4l2/v4l2-overlay_calls.c | |
parent | ae500224ff1791a69689791901acab576d87546c (diff) | |
download | gst-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-overlay_calls.c')
-rw-r--r-- | sys/v4l2/v4l2-overlay_calls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/v4l2/v4l2-overlay_calls.c b/sys/v4l2/v4l2-overlay_calls.c index ad3ec78a..a78cdc68 100644 --- a/sys/v4l2/v4l2-overlay_calls.c +++ b/sys/v4l2/v4l2-overlay_calls.c @@ -81,7 +81,7 @@ gst_v4l2_set_display (GstV4l2Element *v4l2element, ******************************************************/ gboolean -gst_v4l2_set_window (GstV4l2Element *v4l2element, +gst_v4l2_set_window (GstElement *element, gint x, gint y, gint w, @@ -90,6 +90,7 @@ gst_v4l2_set_window (GstV4l2Element *v4l2element, gint num_clips) { struct v4l2_format fmt; + GstV4l2Element *v4l2element = GST_V4L2ELEMENT(element); DEBUG("trying to set video window to %dx%d,%d,%d", x,y,w,h); GST_V4L2_CHECK_OVERLAY(v4l2element); |