Fix log tag.
This commit is contained in:
parent
4be1deeb2f
commit
86af099206
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
package org.linphone.core.video;
|
package org.linphone.core.video;
|
||||||
|
|
||||||
import org.linphone.LinphoneManager;
|
import org.linphone.core.Version;
|
||||||
|
|
||||||
import android.hardware.Camera;
|
import android.hardware.Camera;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
@ -49,7 +49,7 @@ class AndroidCameraConf9 implements AndroidCameraConf {
|
||||||
public int getCameraOrientation(int cameraId) {
|
public int getCameraOrientation(int cameraId) {
|
||||||
android.hardware.Camera.CameraInfo info = new android.hardware.Camera.CameraInfo();
|
android.hardware.Camera.CameraInfo info = new android.hardware.Camera.CameraInfo();
|
||||||
Camera.getCameraInfo(cameraId, info);
|
Camera.getCameraInfo(cameraId, info);
|
||||||
Log.d(LinphoneManager.TAG, String.format("Camera info for %d: orientation=%d returned=%d ",
|
Log.d(Version.TAG, String.format("Camera info for %d: orientation=%d returned=%d ",
|
||||||
cameraId,
|
cameraId,
|
||||||
info.orientation,
|
info.orientation,
|
||||||
(info.orientation - 90) %360));
|
(info.orientation - 90) %360));
|
||||||
|
|
Loading…
Reference in a new issue