diff options
| author | bunnei <bunneidev@gmail.com> | 2020-12-02 15:55:15 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-02 15:55:15 -0800 |
| commit | 9abb23cd2700b57611fc25bce67581eaa6d4d3b7 (patch) | |
| tree | 75a2c41fbdfab51ea44e74e84c17204da171b938 /src/video_core/command_classes/codecs/h264.h | |
| parent | 25f650e075c441798016d0e7a446a10ce82a2865 (diff) | |
| parent | 979b60273889f070737d1fe3037991245180ca67 (diff) | |
Merge pull request #5002 from ameerj/nvdec-frameskip
nvdec: Queue and display all decoded frames, cleanup decoders
Diffstat (limited to 'src/video_core/command_classes/codecs/h264.h')
| -rw-r--r-- | src/video_core/command_classes/codecs/h264.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/command_classes/codecs/h264.h b/src/video_core/command_classes/codecs/h264.h index 273449495..0f3a1d9f3 100644 --- a/src/video_core/command_classes/codecs/h264.h +++ b/src/video_core/command_classes/codecs/h264.h @@ -74,8 +74,8 @@ public: ~H264(); /// Compose the H264 header of the frame for FFmpeg decoding - [[nodiscard]] const std::vector<u8>& ComposeFrameHeader(NvdecCommon::NvdecRegisters& state, - bool is_first_frame = false); + [[nodiscard]] const std::vector<u8>& ComposeFrameHeader( + const NvdecCommon::NvdecRegisters& state, bool is_first_frame = false); private: struct H264ParameterSet { |
