This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From f4a48300bf545227b5fb9121bf46a95f40e8923a Mon Sep 17 00:00:00 2001 | |
From: Matt Oliver <protogonoi@gmail.com> | |
Date: Wed, 7 Dec 2016 16:55:35 +1100 | |
Subject: [PATCH 1/3] avutil/thread: Add pthread_cond_timedwait function. | |
Signed-off-by: Matt Oliver <protogonoi@gmail.com> | |
--- | |
compat/os2threads.h | 24 ++++++++++++++++++++++++ | |
compat/w32pthreads.h | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ | |
libavutil/thread.h | 6 ++++++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 62da19c5377b1394bd919badd8fb7642294077cf Mon Sep 17 00:00:00 2001 | |
From: Matt Oliver <protogonoi@gmail.com> | |
Date: Wed, 7 Dec 2016 16:57:14 +1100 | |
Subject: [PATCH 2/3] avformat/udp: Use avutil compat pthread_cond_timedwait. | |
Signed-off-by: Matt Oliver <protogonoi@gmail.com> | |
--- | |
libavformat/udp.c | 12 ++++++------ | |
1 file changed, 6 insertions(+), 6 deletions(-) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From b548dbc7de4e17c500658d263f152013290859cb Mon Sep 17 00:00:00 2001 | |
From: Matt Oliver <protogonoi@gmail.com> | |
Date: Fri, 16 Dec 2016 12:53:28 +1100 | |
Subject: [PATCH 3/3] avformat/udp: Enable FIFO when using windows sockets. | |
Signed-off-by: Matt Oliver <protogonoi@gmail.com> | |
--- | |
libavformat/udp.c | 15 ++++++++++++++- | |
1 file changed, 14 insertions(+), 1 deletion(-) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "TvFFFrameReader.h" | |
#include <memory> | |
TvFFFrameReader::TvFFFrameReader(MemManager* mem_manager, const std::string& filename, const int gpu_index, | |
const int out_width, const int out_height) | |
: _mem_manager(mem_manager) | |
, _filename(filename) | |
{ | |
// Set up decoding options |