Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gst-plugins-good
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jan Alexander Steffens
gst-plugins-good
Commits
560a6155
Commit
560a6155
authored
Oct 11, 2018
by
Wonchul Lee
Committed by
Nicolas Dufresne
Oct 24, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v4l2bufferpool: fix typo resurect to resurrect
https://bugzilla.gnome.org/show_bug.cgi?id=797273
parent
15429ee4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
sys/v4l2/gstv4l2bufferpool.c
sys/v4l2/gstv4l2bufferpool.c
+7
-7
No files found.
sys/v4l2/gstv4l2bufferpool.c
View file @
560a6155
...
...
@@ -611,7 +611,7 @@ wrong_config:
}
static
GstFlowReturn
gst_v4l2_buffer_pool_resurect_buffer
(
GstV4l2BufferPool
*
pool
)
gst_v4l2_buffer_pool_resur
r
ect_buffer
(
GstV4l2BufferPool
*
pool
)
{
GstBufferPoolAcquireParams
params
=
{
0
};
GstBuffer
*
buffer
=
NULL
;
...
...
@@ -652,9 +652,9 @@ gst_v4l2_buffer_pool_streamon (GstV4l2BufferPool * pool)
if
(
!
V4L2_TYPE_IS_OUTPUT
(
pool
->
obj
->
type
))
{
/* For captures, we need to enqueue buffers before we start streaming,
* so the driver don't underflow immediatly. As we have put then back
* into the base class queue, resurect them, then releasing will queue
* into the base class queue, resur
r
ect them, then releasing will queue
* them back. */
while
(
gst_v4l2_buffer_pool_resurect_buffer
(
pool
)
==
GST_FLOW_OK
)
while
(
gst_v4l2_buffer_pool_resur
r
ect_buffer
(
pool
)
==
GST_FLOW_OK
)
continue
;
}
...
...
@@ -888,7 +888,7 @@ gst_v4l2_buffer_pool_start (GstBufferPool * bpool)
pool
->
group_released_handler
=
g_signal_connect_swapped
(
pool
->
vallocator
,
"group-released"
,
G_CALLBACK
(
gst_v4l2_buffer_pool_resurect_buffer
),
pool
);
G_CALLBACK
(
gst_v4l2_buffer_pool_resur
r
ect_buffer
),
pool
);
ret
=
gst_v4l2_buffer_pool_streamon
(
pool
);
}
...
...
@@ -1336,7 +1336,7 @@ gst_v4l2_buffer_pool_acquire_buffer (GstBufferPool * bpool, GstBuffer ** buffer,
GST_DEBUG_OBJECT
(
pool
,
"acquire"
);
/* If this is being called to resurect a lost buffer */
/* If this is being called to resur
r
ect a lost buffer */
if
(
params
&&
params
->
flags
&
GST_V4L2_BUFFER_POOL_ACQUIRE_FLAG_RESURRECT
)
{
ret
=
pclass
->
acquire_buffer
(
bpool
,
buffer
,
params
);
goto
done
;
...
...
@@ -1779,7 +1779,7 @@ gst_v4l2_buffer_pool_process (GstV4l2BufferPool * pool, GstBuffer ** buf)
/* If we have no more buffer, and can allocate it time to do so */
if
(
num_queued
==
0
)
{
if
(
GST_V4L2_ALLOCATOR_CAN_ALLOCATE
(
pool
->
vallocator
,
MMAP
))
{
ret
=
gst_v4l2_buffer_pool_resurect_buffer
(
pool
);
ret
=
gst_v4l2_buffer_pool_resur
r
ect_buffer
(
pool
);
if
(
ret
==
GST_FLOW_OK
)
goto
done
;
}
...
...
@@ -1790,7 +1790,7 @@ gst_v4l2_buffer_pool_process (GstV4l2BufferPool * pool, GstBuffer ** buf)
GstBuffer
*
copy
;
if
(
GST_V4L2_ALLOCATOR_CAN_ALLOCATE
(
pool
->
vallocator
,
MMAP
))
{
ret
=
gst_v4l2_buffer_pool_resurect_buffer
(
pool
);
ret
=
gst_v4l2_buffer_pool_resur
r
ect_buffer
(
pool
);
if
(
ret
==
GST_FLOW_OK
)
goto
done
;
}
...
...
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