22#include <libavcodec/avcodec.h>
23#include <libavformat/avformat.h>
26#include <vdr/player.h>
94 m_pAudio(m_pDevice->Audio())
193 if (
s.size() &&
s.compare(0, 1,
"#")) {
219 for (
int i = 0;
i < index ;
i++) {
235#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(59,0,100)
262 for (
unsigned int i = 0;
i < format->nb_streams;
i++) {
265 format->streams[
i]->codecpar, format->streams[
i]->time_base);
Audio and Alsa Interface Header File.
std::string GetPath(void)
cPlaylistEntry * GetNextEntry(void)
static cSoftHdControl * Control()
cSoftHdDevice * m_pDevice
cSkinDisplayReplay * m_pOsd
Output Device Implementation.
std::atomic< bool > m_stopped
std::atomic< int > m_jumpSec
cPlaylistEntry * m_pFirstEntry
std::atomic< bool > m_random
cPlaylistEntry * m_pCurrentEntry
std::atomic< bool > m_paused
cSoftHdDevice * m_pDevice
int64_t GetHardwareOutputPtsMs(void)
Get the hardware output PTS in milliseconds.
int PlayAudioPkts(AVPacket *)
Play an audio packet.
virtual void Clear(void)
Clears all video and audio data from the device.
void SetAudioCodec(enum AVCodecID, AVCodecParameters *, AVRational)
Open an audio codec.
virtual void Play(void)
Sets the device into play mode (after a previous trick mode, or pause)
int PlayVideoPkts(AVPacket *)
Play a video packet.
virtual void Freeze(void)
Puts the device into "freeze frame" mode.
void SetVideoCodec(enum AVCodecID, AVCodecParameters *, AVRational)
Open a video codec.
#define LOGDEBUG2
log to LOG_DEBUG and add a prefix
#define LOGERROR
log to LOG_ERR
#define LOGFATAL
log to LOG_ERR and abort
@ L_MEDIA
mediaplayer logs
Output Device Header File.