+2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
+
+ Patch by: Josep Torre Valles <josep@fluendo.com>
+
+ * common/m4/gst-error.m4:
+ Disable warning of statement not reached on Forte.
+ * gst/gstmessage.h:
+ Fix warning on Forte (value doesn't fit on enumeration).
+ * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
+ Fix warning on Forte (value doesn't fit on enumeration).
+ * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
+ DEBUG macro says it takes minimum of 2 args and so Forte
+ complains about the use with just 1 arg.
+ * plugins/elements/gstfdsink.c:
+ * plugins/elements/gstfdsrc.c:
+ * plugins/elements/gstfilesink.c:
+ * plugins/elements/gstfilesrc.c:
+ Use correct return type for the uri handler implementations.
+
+ All these fix warnings in Forte. Fixes bug #360860.
+
2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstelement.h:
-Subproject commit 83b08805d0c109b6dbdcfca0a8b9659b1c556480
+Subproject commit efcacf2625da231fbee99b68e0f5db6816cf6fad
GST_MESSAGE_SEGMENT_START = (1 << 16),
GST_MESSAGE_SEGMENT_DONE = (1 << 17),
GST_MESSAGE_DURATION = (1 << 18),
- GST_MESSAGE_ANY = ~0
+ GST_MESSAGE_ANY = G_MAXINT
} GstMessageType;
#include <gst/gstminiobject.h>
GstBuffer * buf)
{
GstFlowReturn result;
- GstClockTime start = -1, end = -1;
+ GstClockTime start = GST_CLOCK_TIME_NONE, end = GST_CLOCK_TIME_NONE;
GstSegment *clip_segment;
if (G_UNLIKELY (basesink->flushing))
continue;
} else if (ret == 0) {
/* timed out, let's send another packet */
- DEBUG ("timed out");
+ DEBUG ("timed out %c", 0x32);
packet = gst_net_time_packet_new (NULL);
if (!packet)
goto receive_error;
- DEBUG ("got packet back");
+ DEBUG ("got packet back %c", 0x32);
DEBUG ("local_1 = %" GST_TIME_FORMAT, GST_TIME_ARGS (packet->local_time));
DEBUG ("remote = %" GST_TIME_FORMAT, GST_TIME_ARGS (packet->remote_time));
DEBUG ("local_2 = %" GST_TIME_FORMAT, GST_TIME_ARGS (new_local));
/*** GSTURIHANDLER INTERFACE *************************************************/
-static guint
+static GstURIType
gst_fd_sink_uri_get_type (void)
{
return GST_URI_SINK;
/*** GSTURIHANDLER INTERFACE *************************************************/
-static guint
+static GstURIType
gst_fd_src_uri_get_type (void)
{
return GST_URI_SRC;
/*** GSTURIHANDLER INTERFACE *************************************************/
-static guint
+static GstURIType
gst_file_sink_uri_get_type (void)
{
return GST_URI_SINK;
/*** GSTURIHANDLER INTERFACE *************************************************/
-static guint
+static GstURIType
gst_file_src_uri_get_type (void)
{
return GST_URI_SRC;