Lines Matching refs:bin
49 if (info->bin)
50 gst_object_unref(info->bin);
54 GstElement *bin = NULL;
68 bin = gst_bin_new(NULL);
69 pa_assert(bin);
72 info->bin = bin;
145 gst_bin_add_many(GST_BIN(info->bin), transcoder, info->app_sink, NULL);
153 pa_assert_se(gst_element_add_pad(info->bin, gst_ghost_pad_new("sink", pad)));
161 if (gst_element_set_state(info->bin, GST_STATE_PLAYING) == GST_STATE_CHANGE_FAILURE) {
201 /* If common initialization fails the bin has not yet had its ownership
277 if (info->bin) {
278 gst_element_set_state(info->bin, GST_STATE_NULL);
279 gst_object_unref(info->bin);