You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Allows FFmpeg to output directly into guest memory
123
-
ctx->opaque = this;
124
-
ctx->thread_type = FF_THREAD_SLICE; // Silences a warning by FFmpeg about requesting frame threading with a custom get_buffer2(). Default is FF_THREAD_FRAME & FF_THREAD_SLICE
125
-
ctx->get_buffer2 = [](AVCodecContext* s, AVFrame* frame, int/*flags*/) -> int
126
-
{
127
-
for (s32 i = 0; i < frame->ch_layout.nb_channels; i++)
// Allows FFmpeg to output directly into guest memory
157
+
ctx->opaque = this;
158
+
ctx->thread_type = FF_THREAD_SLICE; // Silences a warning by FFmpeg about requesting frame threading with a custom get_buffer2(). Default is FF_THREAD_FRAME & FF_THREAD_SLICE
159
+
ctx->get_buffer2 = [](AVCodecContext* s, AVFrame* frame, int/*flags*/) -> int
160
+
{
161
+
for (s32 i = 0; i < frame->ch_layout.nb_channels; i++)
0 commit comments