mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 13:25:56 +00:00
make last change look nicer
Original commit message from CVS: make last change look nicer
This commit is contained in:
parent
bf08b9f3d1
commit
8f4e58f16c
2 changed files with 4 additions and 4 deletions
|
@ -293,7 +293,7 @@ gst_dparam_attach (GstDParam *dparam, GstDParamManager *manager, GParamSpec *par
|
|||
g_return_if_fail (param_spec != NULL);
|
||||
g_return_if_fail (unit_name != NULL);
|
||||
g_return_if_fail (G_IS_PARAM_SPEC (param_spec));
|
||||
g_return_if_fail (G_PARAM_SPEC_VALUE_TYPE (param_spec) == dparam->type);
|
||||
g_return_if_fail (G_PARAM_SPEC_VALUE_TYPE (param_spec) == GST_DPARAM_TYPE(dparam));
|
||||
|
||||
GST_DPARAM_NAME(dparam) = g_param_spec_get_name(param_spec);
|
||||
GST_DPARAM_PARAM_SPEC(dparam) = param_spec;
|
||||
|
|
|
@ -314,9 +314,9 @@ gst_dpman_attach_dparam (GstDParamManager *dpman, gchar *dparam_name, GstDParam
|
|||
|
||||
dpwrap = gst_dpman_get_wrapper(dpman, dparam_name);
|
||||
|
||||
g_return_val_if_fail(dpwrap != NULL, FALSE);
|
||||
g_return_val_if_fail(dpwrap->value != NULL, FALSE);
|
||||
g_return_val_if_fail (G_PARAM_SPEC_VALUE_TYPE (dpwrap->param_spec) == dparam->type, FALSE);
|
||||
g_return_val_if_fail (dpwrap != NULL, FALSE);
|
||||
g_return_val_if_fail (dpwrap->value != NULL, FALSE);
|
||||
g_return_val_if_fail (G_PARAM_SPEC_VALUE_TYPE (dpwrap->param_spec) == GST_DPARAM_TYPE(dparam), FALSE);
|
||||
|
||||
dpwrap->dparam = dparam;
|
||||
gst_dparam_attach(dparam, dpman, dpwrap->param_spec, dpwrap->unit_name);
|
||||
|
|
Loading…
Reference in a new issue