diff options
author | Benjamin Otte <otte@gnome.org> | 2002-04-06 03:40:15 +0000 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2002-04-06 03:40:15 +0000 |
commit | b73bb27c605120701619f3fa75acd82d31dec684 (patch) | |
tree | 2822cbec20099c30b9ec1c50a45b7bb7453aacca /gst/mpegaudioparse | |
parent | 89aac2284d69ddfb4ab3db480d6a93c67fb7fd3d (diff) | |
download | gst-plugins-bad-b73bb27c605120701619f3fa75acd82d31dec684.tar.gz gst-plugins-bad-b73bb27c605120701619f3fa75acd82d31dec684.tar.bz2 gst-plugins-bad-b73bb27c605120701619f3fa75acd82d31dec684.zip |
fixed first bunch of compiler warnings
Original commit message from CVS:
fixed first bunch of compiler warnings
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"); |