diff options
Diffstat (limited to 'gst/mpegaudioparse')
-rw-r--r-- | gst/mpegaudioparse/gstmpegaudioparse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/mpegaudioparse/gstmpegaudioparse.c b/gst/mpegaudioparse/gstmpegaudioparse.c index 65f1b279..23e632ac 100644 --- a/gst/mpegaudioparse/gstmpegaudioparse.c +++ b/gst/mpegaudioparse/gstmpegaudioparse.c @@ -144,10 +144,10 @@ gst_mp3parse_init (GstMPEGAudioParse *mp3parse) mp3parse->sinkpad = gst_pad_new_from_template(sink_temp, "sink"); gst_element_add_pad(GST_ELEMENT(mp3parse),mp3parse->sinkpad); + gst_element_set_loop_function (GST_ELEMENT(mp3parse),gst_mp3parse_loop); #if 1 /* set this to one to use the old chaining code */ gst_pad_set_chain_function(mp3parse->sinkpad,gst_mp3parse_chain); -#else /* else you get the new loop-based code, which isn't complete yet */ - gst_element_set_loop_function (GST_ELEMENT(mp3parse),gst_mp3parse_loop); + gst_element_set_loop_function (GST_ELEMENT(mp3parse),NULL); #endif mp3parse->srcpad = gst_pad_new_from_template(src_temp, "src"); |