VLCKit transcodes don't play properly in VLC
I'm using VLCKit in a Mac app, and have odd results transcoding files. I tried transcoding a file to MKV/h264/mp3 (2 channels), and VLC does not play the resulting file properly. On opening the file, VLC will play it, but still show the playlist and not the video. The window does resize to the video's resolution, and sound works fine. If VLC is playing a file, and the transcoded file is opened, then playback will start from the beginning and the video will play fine. I get the same result transcoding other files to this format, too.
Here is the transcoded file: https://dl.dropbox.com/u/5151357/vlckit_h264_mp3.mkv
Pastebin of VLC opening and playing the transcoded video (but not showing the video): http://pastebin.com/SAa03cxW
Pastebin where the transcoded video is played by interrupting the original: http://pastebin.com/Q0HBvich
Pastebin of console output from VLCKit inside my program: http://pastebin.com/KTKZz5P8 (I pass stopStreaming to the VLCStreamSession using the debugger, since I VLCStreamSession stopped telling me when it finishes while I tried to fix this bug. I wait a few minutes after my program stops using CPU time to be sure)
I'm using the 20120516 x86_64 VLCKit nightly in my app, and using vlc.git from this weekend. I have Mac OS 10.7.4.