From 84cfa7e3eeb02071695bd9529fea219581784388 Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Sun, 7 Oct 2001 09:50:42 +0000 Subject: [PATCH] changes for dparams move Original commit message from CVS: changes for dparams move --- test/Makefile.am | 3 ++- test/sinesliders.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/test/Makefile.am b/test/Makefile.am index 685604bedd..15470df4b1 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -5,6 +5,7 @@ GNOME_PROGS = spectrum wave mp1parse videotest aviparse \ videotest2 video2mp1 dvshow dv2mp1 \ mpeg2parse2 mpeg2parse3 \ mp2tomp1v2 main sinesliders testspeed +sinesliders_LDADD = ../libs/control/libgstcontrol.la else GNOME_PROGS = endif @@ -13,7 +14,7 @@ noinst_PROGRAMS = qtest $(GNOME_PROGS) record mp3 teardown buffer mp3parse \ mp3play ac3parse ac3play dvdcat fake cobin \ vidcapture avi2mpg mp2tomp1 mp1tomp1 pipetest \ vidcapture2 mp2toavi mp3tovorbis xmmstest \ - mp3mad lat + mp3mad lat pluginload SUBDIRS = xml bindings diff --git a/test/sinesliders.c b/test/sinesliders.c index dcae59a303..aaab8bbb60 100644 --- a/test/sinesliders.c +++ b/test/sinesliders.c @@ -2,7 +2,7 @@ #include #include #include -#include +#include static gint quit_live(GtkWidget *window, GdkEventAny *e, gpointer data) { gtk_main_quit(); @@ -74,7 +74,7 @@ int main(int argc,char *argv[]) { g_object_set(G_OBJECT(osssink),"fragment",0x00180008,NULL); g_object_set(G_OBJECT(sinesrc),"buffersize",64,NULL); - dpman = GST_ELEMENT_DPARAM_MANAGER(sinesrc); + dpman = gst_dpman_get_manager (sinesrc); freq = gst_dparam_smooth_new(G_TYPE_FLOAT); vals = GST_DPARAM_GET_POINT(freq, 0LL); -- 2.34.1