Remove open failure test code and debug log
This commit is contained in:
parent
666eda11d6
commit
af47c1ebdc
@ -282,8 +282,6 @@ gst_ahc_src_change_state (GstElement * element, GstStateChange transition)
|
|||||||
GstStateChangeReturn ret = GST_STATE_CHANGE_SUCCESS;
|
GstStateChangeReturn ret = GST_STATE_CHANGE_SUCCESS;
|
||||||
GstAHCSrc *self = GST_AHC_SRC (element);
|
GstAHCSrc *self = GST_AHC_SRC (element);
|
||||||
|
|
||||||
GST_WARNING_OBJECT (self, "Changing state %d", transition);
|
|
||||||
|
|
||||||
switch (transition) {
|
switch (transition) {
|
||||||
case GST_STATE_CHANGE_NULL_TO_READY:
|
case GST_STATE_CHANGE_NULL_TO_READY:
|
||||||
{
|
{
|
||||||
@ -292,7 +290,7 @@ gst_ahc_src_change_state (GstElement * element, GstStateChange transition)
|
|||||||
|
|
||||||
GST_WARNING_OBJECT (self, "Found %d cameras on the system", num_cams);
|
GST_WARNING_OBJECT (self, "Found %d cameras on the system", num_cams);
|
||||||
|
|
||||||
for (i = 0; i <= num_cams; i++) {
|
for (i = 0; i < num_cams; i++) {
|
||||||
GstAHCCameraInfo info;
|
GstAHCCameraInfo info;
|
||||||
if (gst_ah_camera_get_camera_info (i, &info)) {
|
if (gst_ah_camera_get_camera_info (i, &info)) {
|
||||||
GST_WARNING_OBJECT (self, "Camera info for %d", i);
|
GST_WARNING_OBJECT (self, "Camera info for %d", i);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user