mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
movieplayer.cpp: A new member function setPlaybackPtr(cPlayback *ptr) is implemented within the cVideo class to set the playback callback pointer.
This prevents showing pictures with the videoDecoder while movieplayer is paused
Origin commit data
------------------
Branch: ni/coolstream
Commit: d2ad17d01f
Author: GetAway <get-away@t-online.de>
Date: 2023-08-16 (Wed, 16 Aug 2023)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include <cs_frontpanel.h>
|
||||
#include <control.h>
|
||||
|
||||
#include "playback_cs.h"
|
||||
#include "cs_types.h"
|
||||
|
||||
#define CS_MAX_VIDEO_DECODERS 16
|
||||
@@ -206,6 +207,8 @@ private:
|
||||
cDemux *demux;
|
||||
int current_video_system;
|
||||
//
|
||||
cPlayback *playback_ptr;
|
||||
//
|
||||
int SelectAutoFormat();
|
||||
void ScalePic();
|
||||
cVideo(unsigned int Unit);
|
||||
@@ -299,6 +302,9 @@ public:
|
||||
void SetDemux(cDemux *Demux);
|
||||
static cVideo *GetDecoder(unsigned int Unit);
|
||||
bool SyncSTC(void);
|
||||
|
||||
// set instance of cPlayback as callback
|
||||
void setPlaybackPtr(cPlayback *ptr);
|
||||
};
|
||||
|
||||
#endif // __VIDEO_CS_H_
|
||||
|
Reference in New Issue
Block a user