mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
camerabin2: more logs
This commit is contained in:
parent
f10e445995
commit
58d4315965
1 changed files with 8 additions and 0 deletions
|
@ -565,6 +565,10 @@ gst_camera_bin_set_property (GObject * object, guint prop_id,
|
||||||
gst_element_get_static_pad (camera->src,
|
gst_element_get_static_pad (camera->src,
|
||||||
GST_BASE_CAMERA_SRC_IMAGE_PAD_NAME);
|
GST_BASE_CAMERA_SRC_IMAGE_PAD_NAME);
|
||||||
|
|
||||||
|
GST_DEBUG_OBJECT (camera,
|
||||||
|
"Setting image capture caps to %" GST_PTR_FORMAT,
|
||||||
|
gst_value_get_caps (value));
|
||||||
|
|
||||||
/* set the capsfilter caps and notify the src to renegotiate */
|
/* set the capsfilter caps and notify the src to renegotiate */
|
||||||
g_object_set (camera->imagebin_capsfilter, "caps",
|
g_object_set (camera->imagebin_capsfilter, "caps",
|
||||||
gst_value_get_caps (value), NULL);
|
gst_value_get_caps (value), NULL);
|
||||||
|
@ -584,6 +588,10 @@ gst_camera_bin_set_property (GObject * object, guint prop_id,
|
||||||
gst_element_get_static_pad (camera->src,
|
gst_element_get_static_pad (camera->src,
|
||||||
GST_BASE_CAMERA_SRC_VIDEO_PAD_NAME);
|
GST_BASE_CAMERA_SRC_VIDEO_PAD_NAME);
|
||||||
|
|
||||||
|
GST_DEBUG_OBJECT (camera,
|
||||||
|
"Setting video capture caps to %" GST_PTR_FORMAT,
|
||||||
|
gst_value_get_caps (value));
|
||||||
|
|
||||||
/* set the capsfilter caps and notify the src to renegotiate */
|
/* set the capsfilter caps and notify the src to renegotiate */
|
||||||
g_object_set (camera->videobin_capsfilter, "caps",
|
g_object_set (camera->videobin_capsfilter, "caps",
|
||||||
gst_value_get_caps (value), NULL);
|
gst_value_get_caps (value), NULL);
|
||||||
|
|
Loading…
Reference in a new issue