pleorasink: use async queues and improve debug messages

This commit is contained in:
Joshua M. Doe
2021-08-02 14:44:51 -04:00
parent 63295f7290
commit 02dd4126ac
4 changed files with 58 additions and 68 deletions

View File

@@ -26,6 +26,9 @@ class GstStreamingChannelSource:public PvStreamingChannelSourceDefault
public:
GstStreamingChannelSource ();
void OnStreamingStart();
void OnStreamingStop();
void SetSink (GstPleoraSink * sink);
void SetCaps (GstCaps * caps);
void ResizeBufferIfNeeded (PvBuffer * aBuffer);
@@ -55,8 +58,8 @@ public:
private:
GstPleoraSink * mSink;
PvBuffer *mAcquisitionBuffer;
gboolean mBufferValid;
GAsyncQueue* mInputQueue;
GAsyncQueue* mOutputQueue;
gint mBufferCount;
gint mWidth;
@@ -67,4 +70,6 @@ private:
bool mChunkKlvEnabled;
gint mKlvChunkSize;
bool mStreamingStarted;
};