GNOME Bugzilla – Bug 655362
[decklink] Add support for Windows
Last modified: 2014-12-03 16:01:19 UTC
The first three patches fix minor bugs or issues preventing compilation, while the fourth adds necessary Windows-specific files and handles the COM bits. This has not been tested at all on Linux, and I know I've at least broken the build since I've moved Linux-specific files to a subdirectory without updating the Makefile, but I figure it's better for someone to test the patches on Linux and find any other issues that might exist.
Created attachment 192682 [details] [review] use mutexes
Created attachment 192683 [details] [review] fix debugging in capture.cpp by making category extern
Created attachment 192684 [details] [review] send NEWSEGMENT on start, send warning instead of error on dropped frames
Created attachment 192685 [details] [review] add support for Windows
One important point I failed to mention is that decklinksrc only works with sinks when sync=false. It must be some timing issue, but all the timestamps seemed fine to me, so hopefully someone else will have better luck finding the problem.
Looks generally good, didn't review the large patch. Will merge soon.
pushed, with minor modifications.
Thanks David!
How did you get the DecklinkDispatch.cpp for Windows? It doesn't seem to be included in the SDK and is also not generated by midl.exe
Good question, I can't recall, even after looking over the file.
That's inconvenient :) I updated the headers of the SDK inside the plugin earlier today... the Windows part should still work, but the DeckLinkDispatch.cpp is outdated and would ideally have some more functions like it has for OSX and Linux.