mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
Don't set the caps
Original commit message from CVS: Don't set the caps
This commit is contained in:
parent
7ca1274812
commit
275665ac79
1 changed files with 1 additions and 2 deletions
|
@ -140,9 +140,8 @@ static void
|
|||
gst_mp3parse_init (GstMPEGAudioParse *mp3parse)
|
||||
{
|
||||
mp3parse->sinkpad = gst_pad_new_from_template(sink_temp, "sink");
|
||||
gst_pad_set_caps(mp3parse->sinkpad, gst_pad_get_padtemplate_caps (mp3parse->sinkpad));
|
||||
//gst_pad_set_caps(mp3parse->sinkpad, gst_pad_get_padtemplate_caps (mp3parse->sinkpad));
|
||||
gst_element_add_pad(GST_ELEMENT(mp3parse),mp3parse->sinkpad);
|
||||
// gst_pad_set_type_id(mp3parse->sinkpad, mp3type);
|
||||
|
||||
#if 1 // set this to one to use the old chaining code
|
||||
gst_pad_set_chain_function(mp3parse->sinkpad,gst_mp3parse_chain);
|
||||
|
|
Loading…
Reference in a new issue