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
@ -432,6 +432,7 @@ gst_camerabin_image_create_elements (GstCameraBinImage * img)
|
|||||||
"ffmpegcolorspace"))) {
|
"ffmpegcolorspace"))) {
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
if (!img_sinkpad)
|
||||||
img_sinkpad = gst_element_get_static_pad (csp, "sink");
|
img_sinkpad = gst_element_get_static_pad (csp, "sink");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user