Skip to content

Commit

Permalink
Update ffmpegdecoder.h
Browse files Browse the repository at this point in the history
  • Loading branch information
aliakseis committed Dec 13, 2023
1 parent 29f4e40 commit 35bcd1e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions video/ffmpegdecoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,12 +279,13 @@ class FFmpegDecoder final : public IFrameDecoder, public IAudioPlayerCallback
// Video and audio queues
enum
{
MAX_QUEUE_SIZE = (15 * 1024 * 1024),
MAX_VIDEO_QUEUE_SIZE = 100 * 1024 * 1024,
MAX_AUDIO_QUEUE_SIZE = 15 * 1024 * 1024,
MAX_VIDEO_FRAMES = 500,
MAX_AUDIO_FRAMES = 500,
};
FQueue<MAX_QUEUE_SIZE, MAX_VIDEO_FRAMES> m_videoPacketsQueue;
FQueue<MAX_QUEUE_SIZE, MAX_AUDIO_FRAMES> m_audioPacketsQueue;
FQueue<MAX_VIDEO_QUEUE_SIZE, MAX_VIDEO_FRAMES> m_videoPacketsQueue;
FQueue<MAX_AUDIO_QUEUE_SIZE, MAX_AUDIO_FRAMES> m_audioPacketsQueue;

VQueue m_videoFramesQueue;

Expand Down

0 comments on commit 35bcd1e

Please sign in to comment.