mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
Don't set the caps
Original commit message from CVS: Don't set the caps
This commit is contained in:
parent
f3d2b564cc
commit
768bed66e8
1 changed files with 1 additions and 2 deletions
|
@ -140,9 +140,8 @@ static void
|
||||||
gst_mp3parse_init (GstMPEGAudioParse *mp3parse)
|
gst_mp3parse_init (GstMPEGAudioParse *mp3parse)
|
||||||
{
|
{
|
||||||
mp3parse->sinkpad = gst_pad_new_from_template(sink_temp, "sink");
|
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_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
|
#if 1 // set this to one to use the old chaining code
|
||||||
gst_pad_set_chain_function(mp3parse->sinkpad,gst_mp3parse_chain);
|
gst_pad_set_chain_function(mp3parse->sinkpad,gst_mp3parse_chain);
|
||||||
|
|
Loading…
Reference in a new issue