+2005-06-29 Andy Wingo <wingo@pobox.com>
+
+ * configure.ac (GST_CFLAGS): GCC strikes back!!! Let the build
+ breakage ensue!!!
+
+ * gst/rtsp/gstrtspsrc.c (gst_rtspsrc_loop, gst_rtspsrc_open):
+ Signedness, unused var fixes.
+ (gst_rtspsrc_close): Unused?
+
+ * gst/realmedia/rmdemux.c (re_hexdump_bytes): Unused.
+
+ * gst/law/mulaw-encode.c (gst_mulawenc_chain): Signeness fix.
+
+ * gst/law/alaw-encode.c (alawenc_getcaps): Remove unneeded
+ declarations. Typo (probably crasher) fix.
+
+ * gst/law/mulaw-encode.c (mulawdec_getcaps):
+ * gst/law/mulaw-encode.c (mulawenc_getcaps):
+ * gst/law/alaw-decode.c (alawdec_getcaps): Same crasher fix.
+
+ * gst/goom/gstgoom.c (gst_goom_init): Hook up the event function.
+
+ * gst/effectv/gstwarp.c (gst_warptv_setup): Signedness fix.
+
+ * gst/effectv/gstdice.c (gst_dicetv_draw): Um, deferencing
+ uninitialized pointer not good.
+
+ * gst/videofilter/gstvideoexample.c (plugin_init):
+ * gst/videofilter/Makefile.am (libgstvideoexample_la_LIBADD): Link
+ to libgstvideofilter instead of gst_library_load.
+
+ * gst/alpha/gstalpha.c (gst_alpha_chroma_key_i420)
+ (gst_alpha_chroma_key_ayuv): Signedness fixen.
+
2005-06-29 Wim Taymans <wim@fluendo.com>
* gst/rtsp/gstrtspsrc.c: (gst_rtsp_proto_get_type),
gst_mad_sink_event (GstPad * pad, GstEvent * event)
{
GstMad *mad = GST_MAD (GST_PAD_PARENT (pad));
+ gint64 total;
GST_DEBUG ("handling event %d", GST_EVENT_TYPE (event));
switch (GST_EVENT_TYPE (event)) {
* that this doesn't happen anywhere so far). */
format = GST_FORMAT_DEFAULT;
if (!gst_mad_convert_src (mad->srcpad,
- GST_FORMAT_TIME, time, &format, &mad->total_samples)) {
+ GST_FORMAT_TIME, time, &format, &total)) {
GST_DEBUG ("Failed to convert time to total_samples");
continue;
}
+ mad->total_samples = total;
if (GST_PAD_IS_USABLE (mad->srcpad)) {
discont = gst_event_new_discontinuous (FALSE, GST_FORMAT_TIME,
gst_mad_chain (GstPad * pad, GstBuffer * buffer)
{
GstMad *mad;
- gchar *data;
+ guchar *data;
glong size;
gboolean new_pts = FALSE;
GstClockTime timestamp;
/* if we have a pending timestamp, we can use it now to calculate the sample offset */
if (GST_CLOCK_TIME_IS_VALID (mad->last_ts)) {
GstFormat format = GST_FORMAT_DEFAULT;
+ gint64 total;
gst_pad_query_convert (mad->srcpad, GST_FORMAT_TIME, mad->last_ts,
- &format, &mad->total_samples);
+ &format, &total);
+ mad->total_samples = total;
mad->last_ts = GST_CLOCK_TIME_NONE;
}
time_offset = mad->total_samples * GST_SECOND / mad->rate;