[Multimedia] Fixed a logic error of VideoRecorder. 53/151553/1
authorcoderhyme <jhyo.kim@samsung.com>
Thu, 21 Sep 2017 07:28:57 +0000 (16:28 +0900)
committercoderhyme <jhyo.kim@samsung.com>
Thu, 21 Sep 2017 07:28:57 +0000 (16:28 +0900)
Change-Id: Ieaf84152de8603675670e9ac3def4c81cbf6aebf
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
src/Tizen.Multimedia.Recorder/Recorder/VideoRecorder.Capabilities.cs
src/Tizen.Multimedia.Recorder/Recorder/VideoRecorder.cs

index 7e50b68..9c3e223 100644 (file)
@@ -73,7 +73,7 @@ namespace Tizen.Multimedia
                 return _frontResolutions ?? (_frontResolutions = LoadVideoResolutions(CameraDevice.Front));
             }
 
-            if (device == CameraDevice.Front)
+            if (device == CameraDevice.Rear)
             {
                 return _rearResolutions ?? (_rearResolutions = LoadVideoResolutions(CameraDevice.Rear));
             }
index fa8821a..23b9a83 100755 (executable)
@@ -75,7 +75,9 @@ namespace Tizen.Multimedia
         /// <exception cref="ArgumentException">
         ///     <paramref name="videoCodec"/> is not valid.\n
         ///     -or-\n
-        ///     <paramref name="fileFormat"/> is not valid.
+        ///     <paramref name="fileFormat"/> is not valid.\n
+        ///     -or-\n
+        ///     <paramref name="camera"/> is being used by another object.
         /// </exception>
         /// <exception cref="ObjectDisposedException"><paramref name="camera"/> has been disposed of.</exception>
         /// <exception cref="ArgumentNullException"><paramref name="camera"/> is null.</exception>