mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
rpicamsrc: Expand frame timeout from 100ms to 500ms
rpicamsrc on a normal rpi camera doesn't start up fast enough, and always fails the new 100ms timeout. A better solution might be to have a longer timeout for the first frame, but shorter once frames are running - but this quick fix will at least make rpicamsrc work again.
This commit is contained in:
parent
b45e239128
commit
cab6585378
1 changed files with 1 additions and 1 deletions
|
@ -939,7 +939,7 @@ raspi_capture_fill_buffer(RASPIVID_STATE *state, GstBuffer **bufp,
|
|||
|
||||
/* FIXME: Use our own interruptible cond wait: */
|
||||
|
||||
buffer = mmal_queue_timedwait(state->encoded_buffer_q, 100);
|
||||
buffer = mmal_queue_timedwait(state->encoded_buffer_q, 500);
|
||||
|
||||
if (G_UNLIKELY(buffer == NULL)) {
|
||||
return GST_FLOW_ERROR;
|
||||
|
|
Loading…
Reference in a new issue