mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
camerabin2: Remove unused variable
This commit is contained in:
parent
18f6859037
commit
e23e5380d3
2 changed files with 0 additions and 7 deletions
|
@ -382,12 +382,6 @@ gst_camera_bin_dispose (GObject * object)
|
|||
g_signal_handler_disconnect (camerabin->video_encodebin,
|
||||
camerabin->video_encodebin_signal_id);
|
||||
|
||||
if (camerabin->videosink_probe) {
|
||||
GstPad *pad = gst_element_get_static_pad (camerabin->videosink, "sink");
|
||||
gst_pad_remove_data_probe (pad, camerabin->videosink_probe);
|
||||
gst_object_unref (pad);
|
||||
}
|
||||
|
||||
if (camerabin->videosink)
|
||||
gst_object_unref (camerabin->videosink);
|
||||
if (camerabin->video_encodebin)
|
||||
|
|
|
@ -45,7 +45,6 @@ struct _GstCameraBin
|
|||
GstElement *video_encodebin;
|
||||
gulong video_encodebin_signal_id;
|
||||
GstElement *videosink;
|
||||
gulong videosink_probe;
|
||||
GstElement *videobin_queue;
|
||||
GstElement *videobin_capsfilter;
|
||||
|
||||
|
|
Loading…
Reference in a new issue