diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2002-07-28 19:48:26 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2002-07-28 19:48:26 +0000 |
commit | ced0529b53ea74d45e3e2a27a70cc751f7c1f333 (patch) | |
tree | 6aab452e4141443beff0146191fb3e1909e5c261 /ext/flac/gstflac.c | |
parent | 7168a7b9c0ac0a9d6a7bd8a62ca8cc36fe4beee1 (diff) |
avoid symbol conflicts
Original commit message from CVS:
avoid symbol conflicts
Diffstat (limited to 'ext/flac/gstflac.c')
-rw-r--r-- | ext/flac/gstflac.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ext/flac/gstflac.c b/ext/flac/gstflac.c index 6faa03573..f36815a5e 100644 --- a/ext/flac/gstflac.c +++ b/ext/flac/gstflac.c @@ -26,8 +26,8 @@ extern GstElementDetails flacdec_details; static GstCaps* flac_type_find (GstBuffer *buf, gpointer private); -GstPadTemplate *dec_src_template, *dec_sink_template; -GstPadTemplate *enc_src_template, *enc_sink_template; +GstPadTemplate *gst_flacdec_src_template, *gst_flacdec_sink_template; +GstPadTemplate *gst_flacenc_src_template, *gst_flacenc_sink_template; static GstCaps* flac_caps_factory (void) @@ -101,16 +101,16 @@ plugin_init (GModule *module, GstPlugin *plugin) flac_caps = flac_caps_factory (); /* register sink pads */ - enc_sink_template = gst_pad_template_new ("sink", GST_PAD_SINK, + gst_flacenc_sink_template = gst_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, raw_caps, NULL); - gst_element_factory_add_pad_template (enc, enc_sink_template); + gst_element_factory_add_pad_template (enc, gst_flacenc_sink_template); /* register src pads */ - enc_src_template = gst_pad_template_new ("src", GST_PAD_SRC, + gst_flacenc_src_template = gst_pad_template_new ("src", GST_PAD_SRC, GST_PAD_ALWAYS, flac_caps, NULL); - gst_element_factory_add_pad_template (enc, enc_src_template); + gst_element_factory_add_pad_template (enc, gst_flacenc_src_template); gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (enc)); @@ -121,16 +121,16 @@ plugin_init (GModule *module, GstPlugin *plugin) gst_element_factory_set_rank (dec, GST_ELEMENT_RANK_PRIMARY); /* register sink pads */ - dec_sink_template = gst_pad_template_new ("sink", GST_PAD_SINK, + gst_flacdec_sink_template = gst_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, flac_caps, NULL); - gst_element_factory_add_pad_template (dec, dec_sink_template); + gst_element_factory_add_pad_template (dec, gst_flacdec_sink_template); /* register src pads */ - dec_src_template = gst_pad_template_new ("src", GST_PAD_SRC, + gst_flacdec_src_template = gst_pad_template_new ("src", GST_PAD_SRC, GST_PAD_ALWAYS, raw_caps, NULL); - gst_element_factory_add_pad_template (dec, dec_src_template); + gst_element_factory_add_pad_template (dec, gst_flacdec_src_template); gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (dec)); |