+2004-04-07 Benjamin Otte <otte@gnome.org>
+
+ * ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_dispose):
+ actually free the URI string
+ * ext/mad/gstid3tag.c: (gst_id3_tag_src_event):
+ compute offset correctly when passing discont events
+ * ext/mad/gstid3tag.c: (gst_id3_tag_handle_event):
+ don't leak discont events
+ * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_video_caps):
+ add some missing breaks so caps aren't copied randomly
+ * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_get_video_stream):
+ if we realloc memory, we better use it
+
2004-04-06 Benjamin Otte <in7y118@public.uni-hamburg.de>
* ext/mad/gstmad.c: (normal_seek):
switch (GST_EVENT_SEEK_METHOD (event)) {
case GST_SEEK_METHOD_SET:
- diff = tag->v2tag_size_new - tag->v2tag_size;
+ diff = tag->v2tag_size - tag->v2tag_size_new;
break;
case GST_SEEK_METHOD_CUR:
break;
case GST_ID3_TAG_STATE_SEEKING_TO_V1_TAG:
/* just assume it's the right seek for now */
gst_id3_tag_set_state (tag, GST_ID3_TAG_STATE_READING_V1_TAG);
+ gst_data_unref (GST_DATA (event));
break;
case GST_ID3_TAG_STATE_READING_V1_TAG:
GST_ELEMENT_ERROR (tag, CORE, EVENT, (NULL),
case GST_ID3_TAG_STATE_SEEKING_TO_NORMAL:
/* just assume it's the right seek for now */
gst_id3_tag_set_state (tag, GST_ID3_TAG_STATE_NORMAL_START);
+ gst_data_unref (GST_DATA (event));
break;
case GST_ID3_TAG_STATE_NORMAL_START:
GST_ERROR_OBJECT (tag, "tag event not sent, FIXME");
"format", GST_TYPE_FOURCC, codec_fcc, NULL);
if (codec_name)
*codec_name = g_strdup ("Raw, uncompressed I420");
+ break;
case GST_MAKE_FOURCC ('Y', 'U', 'Y', '2'):
caps = gst_caps_new_simple ("video/x-raw-yuv",
"format", GST_TYPE_FOURCC, codec_fcc, NULL);
caps = gst_caps_new_simple ("video/x-jpeg", NULL);
if (codec_name)
*codec_name = g_strdup ("Motion JPEG");
+ break;
case GST_MAKE_FOURCC ('J', 'P', 'E', 'G'):
caps = gst_caps_new_simple ("video/x-jpeg", NULL);
if (codec_name)
*codec_name = g_strdup ("JPEG Still Image");
+ break;
case GST_MAKE_FOURCC ('P', 'I', 'X', 'L'):
case GST_MAKE_FOURCC ('V', 'I', 'X', 'L'):
caps = gst_caps_new_simple ("video/x-jpeg", NULL);
/* This stream may have been created by a derived class, reset the
size. */
video_str = g_renew (GstMPEGVideoStream, str, 1);
- str = (GstMPEGStream *) video_str;
+ mpeg_demux->video_stream[stream_nr] = str = (GstMPEGStream *) video_str;
}
if (str->type != GST_MPEG_DEMUX_VIDEO_MPEG ||