Skip to content

Commit

Permalink
[camera] Experimental: force flush packets?
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Nov 19, 2023
1 parent 435e8b2 commit 8439a25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/score-plugin-media/Video/CameraInput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ bool CameraInput::start() noexcept
m_formatContext = avformat_alloc_context();
m_formatContext->flags |= AVFMT_FLAG_NONBLOCK;
m_formatContext->flags |= AVFMT_FLAG_NOBUFFER;
m_formatContext->flags |= AVFMT_FLAG_FLUSH_PACKETS;

AVDictionary* options = nullptr;

Expand Down

0 comments on commit 8439a25

Please sign in to comment.