Lines Matching refs:viewfinderbin
66 GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (viewfinderbin, "viewfinderbin",
88 GstViewfinderBin *viewfinderbin = GST_VIEWFINDER_BIN_CAST (object); in gst_viewfinder_bin_dispose() local
90 if (viewfinderbin->user_video_sink) { in gst_viewfinder_bin_dispose()
91 gst_object_unref (viewfinderbin->user_video_sink); in gst_viewfinder_bin_dispose()
92 viewfinderbin->user_video_sink = NULL; in gst_viewfinder_bin_dispose()
95 if (viewfinderbin->video_sink) { in gst_viewfinder_bin_dispose()
96 gst_object_unref (viewfinderbin->video_sink); in gst_viewfinder_bin_dispose()
97 viewfinderbin->video_sink = NULL; in gst_viewfinder_bin_dispose()
100 G_OBJECT_CLASS (parent_class)->dispose ((GObject *) viewfinderbin); in gst_viewfinder_bin_dispose()
138 gst_viewfinder_bin_init (GstViewfinderBin * viewfinderbin) in gst_viewfinder_bin_init() argument
141 viewfinderbin->ghostpad = gst_ghost_pad_new_no_target_from_template ("sink", in gst_viewfinder_bin_init()
144 gst_element_add_pad (GST_ELEMENT_CAST (viewfinderbin), in gst_viewfinder_bin_init()
145 viewfinderbin->ghostpad); in gst_viewfinder_bin_init()
147 viewfinderbin->disable_converters = DEFAULT_DISABLE_CONVERTERS; in gst_viewfinder_bin_init()