summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-07-27 15:21:51 +0200
committerTim-Philipp Müller <tim@centricular.net>2012-09-11 01:54:46 +0100
commited451b1cd701701706143577fa00e3ea2d2e5aad (patch)
tree72b8362c1ab14d6ac00861c30276970dac69c141
parent18181befde4f8edc69ad039848370053c0d6ce06 (diff)
update for new variable names
-rw-r--r--gst/gdp/dataprotocol.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gst/gdp/dataprotocol.c b/gst/gdp/dataprotocol.c
index c602ba2ba..4ba66db78 100644
--- a/gst/gdp/dataprotocol.c
+++ b/gst/gdp/dataprotocol.c
@@ -530,8 +530,8 @@ gst_dp_event_from_packet_0_2 (guint header_length, const guint8 * header,
gdouble rate;
GstFormat format;
GstSeekFlags flags;
- GstSeekType cur_type, stop_type;
- gint64 cur, stop;
+ GstSeekType start_type, stop_type;
+ gint64 start, stop;
g_return_val_if_fail (payload != NULL, NULL);
@@ -539,12 +539,12 @@ gst_dp_event_from_packet_0_2 (guint header_length, const guint8 * header,
rate = 1.0;
format = (GstFormat) GST_READ_UINT32_BE (payload);
flags = (GstSeekFlags) GST_READ_UINT32_BE (payload + 4);
- cur_type = (GstSeekType) GST_READ_UINT32_BE (payload + 8);
- cur = (gint64) GST_READ_UINT64_BE (payload + 12);
+ start_type = (GstSeekType) GST_READ_UINT32_BE (payload + 8);
+ start = (gint64) GST_READ_UINT64_BE (payload + 12);
stop_type = (GstSeekType) GST_READ_UINT32_BE (payload + 20);
stop = (gint64) GST_READ_UINT64_BE (payload + 24);
- event = gst_event_new_seek (rate, format, flags, cur_type, cur,
+ event = gst_event_new_seek (rate, format, flags, start_type, start,
stop_type, stop);
GST_EVENT_TIMESTAMP (event) = GST_DP_HEADER_TIMESTAMP (header);
break;