Skip to content

Commit 2335106

Browse files
committed
may just have not produced anything
1 parent a21c58c commit 2335106

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

obs-vaapi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ static bool encode(void *data, struct encoder_frame *frame, struct encoder_packe
460460

461461
vaapi->sample = gst_app_sink_try_pull_sample(GST_APP_SINK(vaapi->appsink), 0);
462462
if (vaapi->sample == NULL) {
463-
return false;
463+
return true;
464464
}
465465

466466
*received_packet = true;

0 commit comments

Comments
 (0)