mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 16:35:40 +00:00
update for changed dparams api
Original commit message from CVS: update for changed dparams api
This commit is contained in:
parent
39f81291e1
commit
4b70fed5e0
2 changed files with 6 additions and 8 deletions
|
@ -138,8 +138,7 @@ gst_dptest_init (GstDpTest * dptest)
|
|||
dptest->dpman,
|
||||
g_param_spec_float("float1","float1","float1",
|
||||
0.0, 1.0, 0.5, G_PARAM_READWRITE),
|
||||
FALSE,
|
||||
FALSE,
|
||||
"float",
|
||||
&(dptest->float1)
|
||||
);
|
||||
|
||||
|
@ -224,8 +223,8 @@ int main(int argc,char *argv[]) {
|
|||
testelement = gst_element_factory_make ("dptest", "testelement");
|
||||
g_assert (testelement);
|
||||
|
||||
gst_element_connect (src, "src", testelement, "sink");
|
||||
gst_element_connect (testelement, "src", sink, "sink");
|
||||
gst_element_connect (src, testelement);
|
||||
gst_element_connect (testelement, sink);
|
||||
|
||||
gst_bin_add (GST_BIN (pipeline), src);
|
||||
gst_bin_add (GST_BIN (pipeline), testelement);
|
||||
|
|
|
@ -138,8 +138,7 @@ gst_dptest_init (GstDpTest * dptest)
|
|||
dptest->dpman,
|
||||
g_param_spec_float("float1","float1","float1",
|
||||
0.0, 1.0, 0.5, G_PARAM_READWRITE),
|
||||
FALSE,
|
||||
FALSE,
|
||||
"float",
|
||||
&(dptest->float1)
|
||||
);
|
||||
|
||||
|
@ -224,8 +223,8 @@ int main(int argc,char *argv[]) {
|
|||
testelement = gst_element_factory_make ("dptest", "testelement");
|
||||
g_assert (testelement);
|
||||
|
||||
gst_element_connect (src, "src", testelement, "sink");
|
||||
gst_element_connect (testelement, "src", sink, "sink");
|
||||
gst_element_connect (src, testelement);
|
||||
gst_element_connect (testelement, sink);
|
||||
|
||||
gst_bin_add (GST_BIN (pipeline), src);
|
||||
gst_bin_add (GST_BIN (pipeline), testelement);
|
||||
|
|
Loading…
Reference in a new issue