From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/Plugins/Input/in_flv/VideoThread.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Src/Plugins/Input/in_flv/VideoThread.h (limited to 'Src/Plugins/Input/in_flv/VideoThread.h') diff --git a/Src/Plugins/Input/in_flv/VideoThread.h b/Src/Plugins/Input/in_flv/VideoThread.h new file mode 100644 index 00000000..3d2d7487 --- /dev/null +++ b/Src/Plugins/Input/in_flv/VideoThread.h @@ -0,0 +1,21 @@ +#ifndef NULLSOFT_IN_FLV_VIDEOTHREAD_H +#define NULLSOFT_IN_FLV_VIDEOTHREAD_H + +#include "../nsv/dec_if.h" +#include "../Winamp/wa_ipc.h" +#include "svc_flvdecoder.h" +#include "ifc_flvvideodecoder.h" + +bool OnVideo(void *data, size_t length, int type, unsigned __int32 timestamp); +void VideoFlush(); +extern int width, height; +extern IVideoOutput *videoOutput; +extern bool video_opened; + +void Video_Init(); +void Video_Stop(); +void Video_Close(); +bool Video_IsSupported(int type); +bool Video_DecoderReady(); + +#endif \ No newline at end of file -- cgit