I configured the gstreamer pipe line as follows.
-->> imxv4l2src device=/dev/video0 ! imv4l2sink
Before Status GST_STATE_PLAYING
g_object_set(src,device"/dev/video1", NULL)
You can select a camera with the command.
but gst_element_set_state(pipeline, GST_STATE_PLAYING);
g_object_set(src,device"/dev/video1", NULL);
command is not executed after the command.
Please tell me how to change the element property to g_object_set.
If src is videootesrc, the g_object_set command changes the property well.
regards.