summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2002-09-17 12:25:49 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2002-09-17 12:25:49 +0000
commit4e4f3462a66af9dc6ba49ce79015d92a9cad2a19 (patch)
treedf545f2f8b310446da83e450f2fcab66af960a1f
parent6b9ee0fff207a6f438b263e9d768022324c5dbc7 (diff)
downloadgst-plugins-bad-4e4f3462a66af9dc6ba49ce79015d92a9cad2a19.tar.gz
gst-plugins-bad-4e4f3462a66af9dc6ba49ce79015d92a9cad2a19.tar.bz2
gst-plugins-bad-4e4f3462a66af9dc6ba49ce79015d92a9cad2a19.zip
This build bug accidently went into the CVS
Original commit message from CVS: This build bug accidently went into the CVS
-rw-r--r--sys/v4l2/gstv4l2src.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c
index 590a62b8..3c1e6c9f 100644
--- a/sys/v4l2/gstv4l2src.c
+++ b/sys/v4l2/gstv4l2src.c
@@ -204,13 +204,13 @@ gst_v4l2src_srcconvert (GstPad *pad,
v4l2src = GST_V4L2SRC (gst_pad_get_parent (pad));
- if (!GST_V4L2_IS_OPEN(v4l2src))
+ if (!GST_V4L2_IS_OPEN(GST_V4L2ELEMENT(v4l2src)))
return FALSE;
- if (!gst_v4l2_get_norm(v4l2src, &norm))
+ if (!gst_v4l2_get_norm(GST_V4L2ELEMENT(v4l2src), &norm))
return FALSE;
- std = &((struct v4l2_enumstd *) g_list_nth_data(v4l2src->norms, norm))->std;
+ std = &((struct v4l2_enumstd *) g_list_nth_data(GST_V4L2ELEMENT(v4l2src)->norms, norm))->std;
fps = std->framerate.numerator / std->framerate.denominator;
switch (src_format) {