[FFmpeg-devel] [PATCH] avdevice/decklink: Removed pthread dependency. Made minor changes to get the decklink avdevice code to build using Visual C++.

Aaron Levinson alevinsn at aracnet.com
Thu Apr 13 06:15:24 EEST 2017


On 4/12/2017 6:51 PM, Marton Balint wrote:
>
>
> On Wed, 12 Apr 2017, Aaron Levinson wrote:
>
>> From bcc0ec4a0bb64e74b9c9369087708f55569bf50e Mon Sep 17 00:00:00 2001
>> From: Aaron Levinson <alevinsn at aracnet.com>
>> Date: Wed, 12 Apr 2017 16:41:53 -0700
>> Subject: [PATCH] avdevice/decklink: Removed pthread dependency.  Made
>> minor changes to get the decklink avdevice code to build using Visual
>> C++.
>>
>> Purpose: avdevice/decklink: Removed pthread dependency by
>> replacing semaphore used in code appropriately.  Doing so makes it
>> easier to
>> build ffmpeg using Visual C++ on Windows.  In addition, made other minor
>> changes to get the decklink avdevice code to build using Visual C++.
>> This is
>> a contination of Kyle Schwarz's "avdevice/decklink: Remove pthread
>> dependency" patch that is available at
>> https://patchwork.ffmpeg.org/patch/2654/ .  This patch wasn't
>> accepted, and
>> as far as I can tell, there was no follow-up after it was rejected.
>>
>> Notes: Used Visual Studio 2015 (with update 3) for this.
>
> Could you split this patch into two separete patches, one that removes
> the pthread dependancy, and another which fixes MSVC build issues?

I'll submit two new patches, although, at least with MSVC, I need both 
of them to simply be able to build it successfully.

Aaron Levinson


More information about the ffmpeg-devel mailing list