summaryrefslogtreecommitdiffstats
path: root/gst/playondemand/demo-mp3.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2002-04-11 20:42:26 +0000
committerAndy Wingo <wingo@pobox.com>2002-04-11 20:42:26 +0000
commit06d94641c271dc846e335104ac61beab38445c4a (patch)
treecd066b7966e619ab2c31e6fdf43d584be29c0e90 /gst/playondemand/demo-mp3.c
parent8c43b5fd9b38cf9c55e5c148c985cd1b8731b5b7 (diff)
downloadgst-plugins-bad-06d94641c271dc846e335104ac61beab38445c4a.tar.gz
gst-plugins-bad-06d94641c271dc846e335104ac61beab38445c4a.tar.bz2
gst-plugins-bad-06d94641c271dc846e335104ac61beab38445c4a.zip
GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE same with *factory and typefind.
Original commit message from CVS: GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE same with *factory and typefind. also, some -Werror fixes.
Diffstat (limited to 'gst/playondemand/demo-mp3.c')
-rw-r--r--gst/playondemand/demo-mp3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/playondemand/demo-mp3.c b/gst/playondemand/demo-mp3.c
index af5df0a4..e218011f 100644
--- a/gst/playondemand/demo-mp3.c
+++ b/gst/playondemand/demo-mp3.c
@@ -26,10 +26,10 @@ int main(int argc, char **argv)
exit(-1);
}
- src = gst_elementfactory_make("filesrc", "filesrc");
- mad = gst_elementfactory_make("mad", "mad");
- pod = gst_elementfactory_make("playondemand", "playondemand");
- osssink = gst_elementfactory_make("osssink", "osssink");
+ src = gst_element_factory_make("filesrc", "filesrc");
+ mad = gst_element_factory_make("mad", "mad");
+ pod = gst_element_factory_make("playondemand", "playondemand");
+ osssink = gst_element_factory_make("osssink", "osssink");
g_object_set(G_OBJECT(src), "location", argv[1], NULL);
g_object_set(G_OBJECT(osssink), "fragment", 0x00180008, NULL);