Don't set the caps
Original commit message from CVS: Don't set the caps
This commit is contained in:
parent
f3d2b564cc
commit
768bed66e8
@ -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…
x
Reference in New Issue
Block a user