Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gst-plugins-good
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
George Kiagiadakis
gst-plugins-good
Commits
fa6cd1d2
Commit
fa6cd1d2
authored
Apr 15, 2014
by
Nicolas Dufresne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v4l2bufferpool: Preserve downstream minimum even in RW
parent
7b8bb718
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sys/v4l2/gstv4l2bufferpool.c
sys/v4l2/gstv4l2bufferpool.c
+3
-3
No files found.
sys/v4l2/gstv4l2bufferpool.c
View file @
fa6cd1d2
...
...
@@ -388,9 +388,9 @@ gst_v4l2_buffer_pool_start (GstBufferPool * bpool)
switch
(
obj
->
mode
)
{
case
GST_V4L2_IO_RW
:
/*
we preallocate 1 buffer, this value also instructs the latency
*
calculation to have 1
frame latency max */
num_buffers
=
1
;
/*
this value also instructs the latency calculation to have min_buffers
* frame latency max */
num_buffers
=
min_buffers
;
break
;
case
GST_V4L2_IO_DMABUF
:
case
GST_V4L2_IO_MMAP
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment