mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-07 12:21:17 +00:00
Remove open failure test code and debug log
This commit is contained in:
parent
666eda11d6
commit
af47c1ebdc
1 changed files with 1 additions and 3 deletions
|
@ -282,8 +282,6 @@ gst_ahc_src_change_state (GstElement * element, GstStateChange transition)
|
|||
GstStateChangeReturn ret = GST_STATE_CHANGE_SUCCESS;
|
||||
GstAHCSrc *self = GST_AHC_SRC (element);
|
||||
|
||||
GST_WARNING_OBJECT (self, "Changing state %d", transition);
|
||||
|
||||
switch (transition) {
|
||||
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);
|
||||
|
||||
for (i = 0; i <= num_cams; i++) {
|
||||
for (i = 0; i < num_cams; i++) {
|
||||
GstAHCCameraInfo info;
|
||||
if (gst_ah_camera_get_camera_info (i, &info)) {
|
||||
GST_WARNING_OBJECT (self, "Camera info for %d", i);
|
||||
|
|
Loading…
Reference in a new issue