Skip to content

Instantly share code, notes, and snippets.

Created July 6, 2012 09:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3059185 to your computer and use it in GitHub Desktop.
Save anonymous/3059185 to your computer and use it in GitHub Desktop.
MonoTouch.Foundation.MonoTouchException: Objective-C exception thrown. Name: NSInvalidArgumentException Reason: *** -[AVAssetWriter startSessionAtSourceTime:] invalid parameter not satisfying: ((Boolean)(((startTime).flags & (kCMTimeFlags_Valid | kCMTimeFlags_ImpliedValueFlagsMask)) == kCMTimeFlags_Valid))
at MonoTouch.AVFoundation.AVAssetWriter.StartSessionAtSourceTime (CMTime startTime) [0x00003] in /Developer/MonoTouch/Source/monotouch/src/AVFoundation/AVAssetWriter.g.cs:190
at RosyWriter.RosyWriterVideoProcessor.WriteSampleBuffer (MonoTouch.CoreMedia.CMSampleBuffer sampleBuffer, MonoTouch.Foundation.NSString mediaType) [0x00020] in /Users/cdp/Desktop/NewMT5.3.5RC3/xamarin-monotouch-samples-40e2e8b/RosyWriter/RosyWriterVideoProcessor.cs:163
at RosyWriter.RosyWriterVideoProcessor+VideoOutputDataDelegate+<DidOutputSampleBuffer>c__AnonStorey1.<>m__7 () [0x0009e] in /Users/cdp/Desktop/NewMT5.3.5RC3/xamarin-monotouch-samples-40e2e8b/RosyWriter/RosyWriterVideoProcessor.cs:600
at MonoTouch.CoreFoundation.DispatchQueue.static_dispatcher_to_managed (IntPtr context) [0x0001a] in /Developer/MonoTouch/Source/monotouch/src/shared/CoreFoundation/Dispatch.cs:277
at (wrapper native-to-managed) MonoTouch.CoreFoundation.DispatchQueue:static_dispatcher_to_managed (intptr)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment