mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
patch for sh4 and actual ffmpeg versions (thx DBoxOldie)
Origin commit data
------------------
Branch: master
Commit: e8f7fd7a59
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2020-02-04 (Tue, 04 Feb 2020)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -38,6 +38,14 @@ extern "C" {
|
||||
#include <libavutil/opt.h>
|
||||
}
|
||||
|
||||
#if (LIBAVFORMAT_VERSION_INT > AV_VERSION_INT( 57,25,100 ))
|
||||
#define EPLAYER_MAX_CODECS 16
|
||||
struct CodecList
|
||||
{
|
||||
AVCodecContext *codec;
|
||||
};
|
||||
#endif
|
||||
|
||||
class Player;
|
||||
class Track;
|
||||
|
||||
@@ -63,6 +71,9 @@ class Input
|
||||
|
||||
Player *player;
|
||||
AVFormatContext *avfc;
|
||||
#if (LIBAVFORMAT_VERSION_INT > AV_VERSION_INT( 57,25,100 ))
|
||||
CodecList codecs[EPLAYER_MAX_CODECS];
|
||||
#endif
|
||||
uint64_t readCount;
|
||||
int64_t calcPts(AVStream * stream, int64_t pts);
|
||||
|
||||
@@ -85,6 +96,7 @@ class Input
|
||||
bool GetMetadata(std::vector<std::string> &keys, std::vector<std::string> &values);
|
||||
bool GetReadCount(uint64_t &readcount);
|
||||
AVFormatContext *GetAVFormatContext();
|
||||
AVCodecContext *GetCodecContext(unsigned int index);
|
||||
void ReleaseAVFormatContext();
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user