camera: Add support to generate src_query for vidsrcpad.
camera: Add support to generate src_query for vidsrcpad.

src_query was generated only for preview pad from camera element and
hence encoder was not getting the padded width and height when using
vidsrcpad for encoding and hence was not configuring it correctly.

Signed-off-by: Amber Jain <ef4bfd1e6d278f6bc7d4a478f02be2cb9581a0a5@ti.com>
Signed-off-by: Daniel Diaz <ed054987dd20aebbd314fbb0d175066628f13717@ti.com>

mrchapp/gst-openmax-devel,mrchapp/gst-openmax,mrchapp/gst-openmax,mrchapp/gst-openmax,mrchapp/gst-openmax-devel,mrchapp/gst-openmax-devel