[vlc-devel] [PATCH 0 of 6] Fixes for dshow capture with blackmagic design cards

Edouard Gomez ed.gomez at free.fr
Fri Oct 10 22:24:17 CEST 2008


Hello,

As it's the first time I participate to this ML, I'll first
introduce myself.

I'm Edouard Gomez, I used to be the XviD maintainer till the 1.1
release. Though I've mostly retired from active duty in the Free
Software community, I'm still a 100% Free Software user at home and
from time to time I send patches to fix bugs I find in programs
I use. VLC happens to be one of them :-)

Recently, I got a card from blackmagic design (HD extreme). It's the
cheaper card I could find to grab all types of signals (analogic, hdmi
and hd/sd-sdi) but it's only supported on win32/macosx.

As if the win32 lockup wasn't enough, I couldn't get the cards
working with VLC, either the 0.8.6i or the fresh 0.9.x releases.

So here are the patches, for some win32 love, even if it's very
blackmagic design centric. I saw some users complaining on the
forums, so maybe my work isn't that selfish :-) 

Making the cards work:
patch 1 - dshow: prevent division by zero
patch 2 - avcodec: add HDYC to known ffmpeg chroma table
patch 3 - dshow: add HDYC mediasubtype

Fixes to the contribs cross compile comoilation chain:
patch 4 - contrib: fix a few quirks detected during win32 cross compilation
patch 5 - contrib: sync libdvdread patch with upstream svn

Maybe an improvement to the capture code:
patch 6 - dshow: try to improve multithreading code for RAW sample grabbing

Each pacth has his own full comment.

Please review and apply.

-- 
Edouard Gomez



More information about the vlc-devel mailing list