mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
fate/api: add w32+os2 support for fate-api-threadmessage
This commit is contained in:
parent
2730a2013d
commit
dc97ff8380
@ -3,7 +3,7 @@ APITESTPROGS-$(call DEMDEC, H264, H264) += api-h264
|
|||||||
APITESTPROGS-yes += api-seek
|
APITESTPROGS-yes += api-seek
|
||||||
APITESTPROGS-yes += api-codec-param
|
APITESTPROGS-yes += api-codec-param
|
||||||
APITESTPROGS-$(call DEMDEC, H263, H263) += api-band
|
APITESTPROGS-$(call DEMDEC, H263, H263) += api-band
|
||||||
APITESTPROGS-$(HAVE_PTHREADS) += api-threadmessage
|
APITESTPROGS-$(HAVE_THREADS) += api-threadmessage
|
||||||
APITESTPROGS += $(APITESTPROGS-yes)
|
APITESTPROGS += $(APITESTPROGS-yes)
|
||||||
|
|
||||||
APITESTOBJS := $(APITESTOBJS:%=$(APITESTSDIR)%) $(APITESTPROGS:%=$(APITESTSDIR)/%-test.o)
|
APITESTOBJS := $(APITESTOBJS:%=$(APITESTSDIR)%) $(APITESTPROGS:%=$(APITESTSDIR)/%-test.o)
|
||||||
|
@ -22,12 +22,11 @@
|
|||||||
* Thread message API test
|
* Thread message API test
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <pthread.h>
|
|
||||||
|
|
||||||
#include "libavutil/avassert.h"
|
#include "libavutil/avassert.h"
|
||||||
#include "libavutil/avstring.h"
|
#include "libavutil/avstring.h"
|
||||||
#include "libavutil/frame.h"
|
#include "libavutil/frame.h"
|
||||||
#include "libavutil/threadmessage.h"
|
#include "libavutil/threadmessage.h"
|
||||||
|
#include "libavutil/thread.h" // not public
|
||||||
|
|
||||||
struct sender_data {
|
struct sender_data {
|
||||||
int id;
|
int id;
|
||||||
|
@ -28,7 +28,7 @@ FATE_API_SAMPLES_LIBAVFORMAT-yes += fate-api-jpeg-codec-param
|
|||||||
fate-api-jpeg-codec-param: $(APITESTSDIR)/api-codec-param-test$(EXESUF)
|
fate-api-jpeg-codec-param: $(APITESTSDIR)/api-codec-param-test$(EXESUF)
|
||||||
fate-api-jpeg-codec-param: CMD = run $(APITESTSDIR)/api-codec-param-test $(TARGET_SAMPLES)/exif/image_small.jpg
|
fate-api-jpeg-codec-param: CMD = run $(APITESTSDIR)/api-codec-param-test $(TARGET_SAMPLES)/exif/image_small.jpg
|
||||||
|
|
||||||
FATE_API-$(HAVE_PTHREADS) += fate-api-threadmessage
|
FATE_API-$(HAVE_THREADS) += fate-api-threadmessage
|
||||||
fate-api-threadmessage: $(APITESTSDIR)/api-threadmessage-test$(EXESUF)
|
fate-api-threadmessage: $(APITESTSDIR)/api-threadmessage-test$(EXESUF)
|
||||||
fate-api-threadmessage: CMD = run $(APITESTSDIR)/api-threadmessage-test 3 10 30 50 2 20 40
|
fate-api-threadmessage: CMD = run $(APITESTSDIR)/api-threadmessage-test 3 10 30 50 2 20 40
|
||||||
fate-api-threadmessage: CMP = null
|
fate-api-threadmessage: CMP = null
|
||||||
|
Loading…
Reference in New Issue
Block a user