const guint8 *src;
guint8 *dst_y, *dst_u, *dst_v;
gint x, y, w, h;
+/* FIXME ignoring source image stride might be wrong here */
+#if 0
gint w2;
+ gint src_stride;
+#endif
gint width = render->width;
gint height = render->height;
- gint src_stride;
gint y_offset, y_stride;
gint u_offset, u_stride;
gint v_offset, v_stride;
w = MIN (ass_image->w, width - ass_image->dst_x);
h = MIN (ass_image->h, height - ass_image->dst_y);
+#if 0
w2 = (w + 1) / 2;
src_stride = ass_image->stride;
+#endif
src = ass_image->bitmap;
dst_y =
GstLV2Group *group = NULL;
GstAudioChannelPosition *positions = NULL;
GstPad *pad;
- GstCaps *pad_caps;
gsp_class = GST_SIGNAL_PROCESSOR_GET_CLASS (gsp);
lv2 = (GstLV2 *) gsp;
slv2_value_as_string (group->symbol)))) {
GST_INFO_OBJECT (lv2, "set audio channel positions on sink pad %s",
slv2_value_as_string (group->symbol));
- pad_caps = GST_PAD_CAPS (pad);
s = gst_caps_get_structure (caps, 0);
gst_audio_set_channel_positions (s, positions);
gst_object_unref (pad);
slv2_value_as_string (group->symbol)))) {
GST_INFO_OBJECT (lv2, "set audio channel positions on src pad %s",
slv2_value_as_string (group->symbol));
- pad_caps = GST_PAD_CAPS (pad);
s = gst_caps_get_structure (caps, 0);
gst_audio_set_channel_positions (s, positions);
gst_object_unref (pad);
GstSeekType cur_type, stop_type;
gboolean flush;
gint64 cur, stop;
+/* FIXME timestamp is set but not used */
+#if 0
guint64 timestamp;
+#endif
if (modplug->frequency == 0) {
GST_DEBUG_OBJECT (modplug, "no song loaded yet");
break;
}
+#if 0
timestamp = gst_util_uint64_scale_int (modplug->offset, GST_SECOND,
modplug->frequency);
+#endif
gst_event_parse_seek (event, &rate, &format, &flags,
&cur_type, &cur, &stop_type, &stop);
{
GstSFSrc *this;
GstBuffer *buf;
+/* FIXME discont is set but not used */
+#if 0
gboolean discont = FALSE;
+#endif
sf_count_t bytes_read;
this = GST_SF_SRC (bsrc);
goto seek_failed;
this->offset = offset;
+#if 0
discont = TRUE;
+#endif
}
buf = gst_buffer_new_and_alloc (length);
static void
gst_timidity_class_init (GstTimidityClass * klass)
{
- GObjectClass *gobject_class;
GstElementClass *gstelement_class;
- gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
-
gstelement_class->change_state = gst_timidity_change_state;
}
GstSeekFlags flags;
GstSeekType start_type, stop_type;
gint64 start, stop;
- gboolean flush, update, accurate;
+ gboolean flush, update;
+#ifdef HAVE_WILDMIDI_0_2_2
+ gboolean accurate;
+#endif
gboolean res;
unsigned long int sample;
GstSegment *segment;
return res;
flush = ((flags & GST_SEEK_FLAG_FLUSH) == GST_SEEK_FLAG_FLUSH);
+#ifdef HAVE_WILDMIDI_0_2_2
accurate = ((flags & GST_SEEK_FLAG_ACCURATE) == GST_SEEK_FLAG_ACCURATE);
+#endif
if (flush) {
GST_DEBUG ("performing flush");
{
GstZBar *zbar = GST_ZBAR (base);
guint8 *data;
- guint size, rowstride;
+ guint rowstride;
zbar_image_t *image;
const zbar_symbol_t *symbol;
int n;
goto done;
data = GST_BUFFER_DATA (outbuf);
- size = GST_BUFFER_SIZE (outbuf);
image = zbar_image_create ();