mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
ext/gnomevfs/gstgnomevfssrc.c: actually free the URI string
Original commit message from CVS: * 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
This commit is contained in:
parent
53fbf25868
commit
f35fa8bd79
4 changed files with 20 additions and 2 deletions
13
ChangeLog
13
ChangeLog
|
@ -1,3 +1,16 @@
|
|||
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):
|
||||
|
|
|
@ -438,7 +438,7 @@ gst_id3_tag_src_event (GstPad * pad, GstEvent * event)
|
|||
|
||||
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;
|
||||
|
@ -709,6 +709,7 @@ gst_id3_tag_handle_event (GstPad * pad, GstEvent * event)
|
|||
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),
|
||||
|
@ -718,6 +719,7 @@ gst_id3_tag_handle_event (GstPad * pad, GstEvent * event)
|
|||
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");
|
||||
|
|
|
@ -1559,6 +1559,7 @@ gst_asf_demux_video_caps (guint32 codec_fcc,
|
|||
"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);
|
||||
|
@ -1570,10 +1571,12 @@ gst_asf_demux_video_caps (guint32 codec_fcc,
|
|||
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);
|
||||
|
|
|
@ -391,7 +391,7 @@ gst_mpeg_demux_get_video_stream (GstMPEGDemux * mpeg_demux,
|
|||
/* 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 ||
|
||||
|
|
Loading…
Reference in a new issue