gst/base/gstbasesink.c: Fix compile error.
authorWim Taymans <wim.taymans@gmail.com>
Sat, 16 Jul 2005 14:52:15 +0000 (14:52 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sat, 16 Jul 2005 14:52:15 +0000 (14:52 +0000)
Original commit message from CVS:
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_do_sync):
Fix compile error.

ChangeLog
gst/base/gstbasesink.c
libs/gst/base/gstbasesink.c

index 4a40454..7666f9e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,12 @@
 2005-07-16  Wim Taymans  <wim@fluendo.com>
 
        * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
+       (gst_base_sink_do_sync):
+       Fix compile error.
+
+2005-07-16  Wim Taymans  <wim@fluendo.com>
+
+       * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
        (gst_base_sink_event), (gst_base_sink_get_times),
        (gst_base_sink_do_sync), (gst_base_sink_change_state):
        * gst/base/gstbasesink.h:
index 47945ca..d980685 100644 (file)
@@ -466,7 +466,8 @@ gst_base_sink_handle_object (GstBaseSink * basesink, GstPad * pad,
         /* the discont event is needed to bring the buffer timestamps to the
          * stream time */
         if (!gst_event_discont_get_value (event, GST_FORMAT_TIME,
-                &basesink->discont_start, &basesink->discont_stop)) {
+                (gint64 *) & basesink->discont_start,
+                (gint64 *) & basesink->discont_stop)) {
           basesink->discont_start = 0;
           basesink->discont_stop = 0;
         }
index 47945ca..d980685 100644 (file)
@@ -466,7 +466,8 @@ gst_base_sink_handle_object (GstBaseSink * basesink, GstPad * pad,
         /* the discont event is needed to bring the buffer timestamps to the
          * stream time */
         if (!gst_event_discont_get_value (event, GST_FORMAT_TIME,
-                &basesink->discont_start, &basesink->discont_stop)) {
+                (gint64 *) & basesink->discont_start,
+                (gint64 *) & basesink->discont_stop)) {
           basesink->discont_start = 0;
           basesink->discont_stop = 0;
         }