summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-01-09 20:08:45 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2005-01-09 20:08:45 +0000
commitfd8b04a8e7a715fdc8c8b681f366dabbbcdbb15b (patch)
tree8e4414f4a99536117d103dae1aa7e02e624275af
parent2c71529f1ca73f745bd3843442a95fa3bc05dfed (diff)
downloadgst-plugins-bad-fd8b04a8e7a715fdc8c8b681f366dabbbcdbb15b.tar.gz
gst-plugins-bad-fd8b04a8e7a715fdc8c8b681f366dabbbcdbb15b.tar.bz2
gst-plugins-bad-fd8b04a8e7a715fdc8c8b681f366dabbbcdbb15b.zip
gst/tta/gstttaparse.c: Fix gcc-2.95 compile (#163485).
Original commit message from CVS: Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net> * gst/tta/gstttaparse.c: (gst_tta_src_event): Fix gcc-2.95 compile (#163485).
-rw-r--r--ChangeLog7
-rw-r--r--gst/tta/gstttaparse.c11
2 files changed, 14 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 9ee27389..82659147 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-01-09 Koop Mast <kwm@rainbow-runner.nl>
+
+ Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+
+ * gst/tta/gstttaparse.c: (gst_tta_src_event):
+ Fix gcc-2.95 compile (#163485).
+
2005-01-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* configure.ac:
diff --git a/gst/tta/gstttaparse.c b/gst/tta/gstttaparse.c
index 3c480d9c..3509d359 100644
--- a/gst/tta/gstttaparse.c
+++ b/gst/tta/gstttaparse.c
@@ -162,11 +162,14 @@ gst_tta_src_event (GstPad * pad, GstEvent * event)
case GST_EVENT_SEEK:
{
if (GST_EVENT_SEEK_FORMAT (event) == GST_FORMAT_TIME) {
- GST_DEBUG_OBJECT (ttaparse, "got seek event");
GstEvent *seek_event;
- guint64 time = GST_EVENT_SEEK_OFFSET (event);
- guint64 seek_frame = time / (FRAME_TIME * 1000000000);
- guint64 seekpos = ttaparse->index[seek_frame].pos;
+ guint64 time;
+ guint64 seek_frame;
+ guint64 seekpos;
+
+ time = GST_EVENT_SEEK_OFFSET (event);
+ seek_frame = time / (FRAME_TIME * 1000000000);
+ seekpos = ttaparse->index[seek_frame].pos;
GST_DEBUG_OBJECT (ttaparse, "seeking to %u", (guint) seekpos);
seek_event =