title: VerifiyAndSetParameter error when trying to record video
body: <p>I've been trying to create an app that records and uploads a video to a S3 bucket. 
  I've been using (with a little altering) the <a href="http://developer.android.com/guide/topics/media/camera.html#intent-video" rel="nofollow">Android capture video intent article</a>. but when the recording is over, I get a list of errors. (I'm using a Galaxy S2 phone so it's supported).</p>
  
  <p><strong>Code for CameraActivity:</strong></p>
  
  <pre><code>        Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
          fileUri = SavingMedia
                  .getOutputMediaFileUri(SavingMedia.MEDIA_TYPE_VIDEO);
          path = fileUri.toString();
  
          intent.putExtra(MediaStore.EXTRA_DURATION_LIMIT, 30);
          intent.putExtra(MediaStore.EXTRA_OUTPUT, fileUri);
          intent.putExtra(MediaStore.EXTRA_SCREEN_ORIENTATION,
                  ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
          intent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 0.2);
  
          startActivityForResult(intent, CAPTURE_VIDEO_REQUEST_CODE);
  </code></pre>
  
  <p><strong>LogCat output:</strong></p>
  
  <pre><code>05-08 10:46:31.875: E/CameraInput(2595): Recording is not ready (iPeer 0xfbb3c iState 2 iWriteState 1 iClockState 0), frame dropped
  05-08 10:46:31.910: E/CameraInput(2595): Recording is not ready (iPeer 0xfbb3c iState 2 iWriteState 1 iClockState 0), frame dropped
  05-08 10:46:31.945: E/CameraInput(2595): Recording is not ready (iPeer 0xfbb3c iState 2 iWriteState 1 iClockState 0), frame dropped
  05-08 10:46:31.975: E/CameraInput(2595): Recording is not ready (iPeer 0xfbb3c iState 2 iWriteState 1 iClockState 0), frame dropped
  05-08 10:46:33.455: E/yamaha::media::Parameters(2595): SalesCode = PTR
  05-08 10:46:33.705: E/CameraInput(2595): Unsupported parameter(x-pvmf/media-input-node/cap-config-interface;valtype=key_specific_value)
  05-08 10:46:33.705: E/CameraInput(2595): VerifiyAndSetParameter failed on parameter #0
  05-08 10:46:33.705: E/audio_input(2595): unsupported parameter: x-pvmf/media-input-node/cap-config-interface;valtype=key_specific_value
  05-08 10:46:33.705: E/audio_input(2595): VerifyAndSetParameter failed
  05-08 10:46:33.740: E/AndroidRuntime(29786): FATAL EXCEPTION: main
  05-08 10:46:33.740: E/AndroidRuntime(29786): java.lang.NullPointerException
  05-08 10:46:33.740: E/AndroidRuntime(29786):    at java.io.File.fixSlashes(File.java:205)
  05-08 10:46:33.740: E/AndroidRuntime(29786):    at java.io.File.init(File.java:189)
  05-08 10:46:33.740: E/AndroidRuntime(29786):    at java.io.File.&lt;init&gt;(File.java:139)
  05-08 10:46:33.740: E/AndroidRuntime(29786):    at com.sec.android.app.camera.CamcorderEngine.renameTempFile(CamcorderEngine.java:1206)
  05-08 10:46:33.740: E/AndroidRuntime(29786):    at com.sec.android.app.camera.CamcorderEngine.doStopVideoRecordingSync(CamcorderEngine.java:812)
  05-08 10:46:33.740: E/AndroidRuntime(29786):    at com.sec.android.app.camera.CeStateRecording.handleRequest(CeStateRecording.java:69)
  05-08 10:46:33.740: E/AndroidRuntime(29786):    at com.sec.android.app.camera.CeRequestQueue.startFirstRequest(CeRequestQueue.java:123)
  05-08 10:46:33.740: E/AndroidRuntime(29786):    at com.sec.android.app.camera.CeRequestQueue.access$200(CeRequestQueue.java:32)
  05-08 10:46:33.740: E/AndroidRuntime(29786):    at com.sec.android.app.camera.CeRequestQueue$MainHandler.handleMessage(CeRequestQueue.java:60)
  05-08 10:46:33.740: E/AndroidRuntime(29786):    at android.os.Handler.dispatchMessage(Handler.java:99)
  05-08 10:46:33.740: E/AndroidRuntime(29786):    at android.os.Looper.loop(Looper.java:123)
  05-08 10:46:33.740: E/AndroidRuntime(29786):    at android.app.ActivityThread.main(ActivityThread.java:3691)
  05-08 10:46:33.740: E/AndroidRuntime(29786):    at java.lang.reflect.Method.invokeNative(Native Method)
  05-08 10:46:33.740: E/AndroidRuntime(29786):    at java.lang.reflect.Method.invoke(Method.java:507)
  05-08 10:46:33.740: E/AndroidRuntime(29786):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
  05-08 10:46:33.740: E/AndroidRuntime(29786):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
  05-08 10:46:33.740: E/AndroidRuntime(29786):    at dalvik.system.NativeStart.main(Native Method)
  05-08 10:46:33.770: E/(2806): Dumpstate &gt; /data/log/dumpstate_app_error
  </code></pre>