GST_START_TEST (test_controller_processing)
{
GstControlSource *cs;
+ GstTimedValueControlSource *tvcs;
GstElement *volume;
GstBuffer *inbuffer, *outbuffer;
GstCaps *caps;
gst_object_add_control_binding (GST_OBJECT_CAST (volume),
gst_direct_control_binding_new (GST_OBJECT_CAST (volume), "volume", cs));
+ /* the value range for volume is 0.0 ... 10.0 */
+ tvcs = (GstTimedValueControlSource *) cs;
+ gst_timed_value_control_source_set (tvcs, 0 * GST_SECOND, 0.1);
+
fail_unless (gst_element_set_state (volume,
GST_STATE_PLAYING) == GST_STATE_CHANGE_SUCCESS,
"could not set to playing");