mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 22:06:41 +00:00
camerabin: do not set imagebin sinkpad twice
If we already have a sinkpad, do not get a new one
This commit is contained in:
parent
779330a6e5
commit
ae57a90fe2
1 changed files with 2 additions and 1 deletions
|
@ -432,6 +432,7 @@ gst_camerabin_image_create_elements (GstCameraBinImage * img)
|
|||
"ffmpegcolorspace"))) {
|
||||
goto done;
|
||||
}
|
||||
if (!img_sinkpad)
|
||||
img_sinkpad = gst_element_get_static_pad (csp, "sink");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue