mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
gst/qtdemux/qtdemux.c: set explicit caps before adding the element, so the autopluggers can plug correctly.
Original commit message from CVS: 2004-02-03 Benjamin Otte <in7y118@public.uni-hamburg.de> * gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream): set explicit caps before adding the element, so the autopluggers can plug correctly. * gst/typefind/gsttypefindfunctions.c: (mp3_type_find), (mpeg2_sys_type_find), (mpeg1_sys_type_find), (mpeg_video_type_find), (mpeg_video_stream_type_find), (dv_type_find): fix memleaks in typefind functions. gst_type_find_suggest takes a const argument.
This commit is contained in:
parent
7c3cab5c86
commit
801b7221ac
2 changed files with 14 additions and 2 deletions
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
|||
2004-02-03 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||
|
||||
* gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream):
|
||||
set explicit caps before adding the element, so the autopluggers can
|
||||
plug correctly.
|
||||
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find),
|
||||
(mpeg2_sys_type_find), (mpeg1_sys_type_find),
|
||||
(mpeg_video_type_find), (mpeg_video_stream_type_find),
|
||||
(dv_type_find):
|
||||
fix memleaks in typefind functions. gst_type_find_suggest takes a const
|
||||
argument.
|
||||
|
||||
2004-02-03 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* gst-libs/gst/colorbalance/Makefile.am:
|
||||
|
|
|
@ -562,10 +562,10 @@ void gst_qtdemux_add_stream(GstQTDemux *qtdemux, QtDemuxStream *stream)
|
|||
qtdemux->n_streams++;
|
||||
GST_DEBUG ("n_streams is now %d", qtdemux->n_streams);
|
||||
|
||||
gst_pad_set_explicit_caps(stream->pad, stream->caps);
|
||||
|
||||
GST_DEBUG ("adding pad %p to qtdemux %p", stream->pad, qtdemux);
|
||||
gst_element_add_pad(GST_ELEMENT (qtdemux), stream->pad);
|
||||
|
||||
gst_pad_set_explicit_caps(stream->pad, stream->caps);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue