summaryrefslogtreecommitdiffstats
path: root/ext/raw1394
diff options
context:
space:
mode:
Diffstat (limited to 'ext/raw1394')
-rw-r--r--ext/raw1394/gsthdv1394src.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/raw1394/gsthdv1394src.c b/ext/raw1394/gsthdv1394src.c
index ed6520b2..db06d70d 100644
--- a/ext/raw1394/gsthdv1394src.c
+++ b/ext/raw1394/gsthdv1394src.c
@@ -406,7 +406,9 @@ gst_hdv1394src_create (GstPushSrc * psrc, GstBuffer ** buf)
goto told_to_stop;
} else if (G_LIKELY (pollfds[0].revents & POLLIN)) {
- int pt = dv1394src->frame_sequence;
+ int pt;
+
+ pt = dv1394src->frame_sequence;
/* shouldn't block in theory */
GST_LOG ("Iterating ! (%d)", dv1394src->frame_sequence);
raw1394_loop_iterate (dv1394src->handle);