diff options
Diffstat (limited to 'gst/camerabin/camerabinimage.c')
-rw-r--r-- | gst/camerabin/camerabinimage.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/camerabin/camerabinimage.c b/gst/camerabin/camerabinimage.c index b1519da3c..56453c670 100644 --- a/gst/camerabin/camerabinimage.c +++ b/gst/camerabin/camerabinimage.c @@ -432,7 +432,8 @@ gst_camerabin_image_create_elements (GstCameraBinImage * img) "ffmpegcolorspace"))) { goto done; } - img_sinkpad = gst_element_get_static_pad (csp, "sink"); + if (!img_sinkpad) + img_sinkpad = gst_element_get_static_pad (csp, "sink"); } if (img->app_enc) { |