Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
luzpaz
gstreamer
Commits
3776eb9e
Commit
3776eb9e
authored
Mar 26, 2012
by
Wim Taymans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bufferpool: check min/max_buffers
parent
ce90970b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
gst/gstbufferpool.c
gst/gstbufferpool.c
+1
-0
No files found.
gst/gstbufferpool.c
View file @
3776eb9e
...
...
@@ -645,6 +645,7 @@ gst_buffer_pool_config_set_params (GstStructure * config, const GstCaps * caps,
guint
size
,
guint
min_buffers
,
guint
max_buffers
)
{
g_return_if_fail
(
config
!=
NULL
);
g_return_if_fail
(
max_buffers
==
0
||
min_buffers
<=
max_buffers
);
gst_structure_id_set
(
config
,
GST_QUARK
(
CAPS
),
GST_TYPE_CAPS
,
caps
,
...
...
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