October 11, 2002

VideoDigitizer Call Sequence

I did some more work on adding video capture support to Open Mash but some things aren't working right. NewTimeBase() is choking with a Bus Error, so I commented that out. So I couldn't call VDSetTimeBase(). I also should be using VDGetCompressionTypes() to choose a correct compression type for VDSetCompression(), but since Mash only supports YUV I'm just going ahead and setting it to that explicitly. That's not throwing an error, so I'm guessing that's okay. But VDGetImageDescription() is returning -50 (bad parameter) and I don't know why.

I also emailed Wei about the weird DELAY define which causes parts of degas to be included only on Mac OS X. Apparently DELAY is defined in Apple's gcc for some reason. Wei suggested I check on this by passing the -E argument to gcc. If it turns out DELAY is defined anyway, I'll get around to changing DELAY to DELAY_DEGAS or something like that so it won't cause this problem on Mac OS X.

Posted by josuah at October 11, 2002 2:57 AM UTC+00:00

Trackback Pings

TrackBack URL for this entry:
http://www.wesman.net/cgi-bin/mt/mt-tb.cgi/548

Comments

Post a comment

July 2013
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Search