projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd3511d
)
don't error out on max-buffers = 0
author
Benjamin Otte
<otte@gnome.org>
Sun, 13 Apr 2003 00:55:08 +0000
(
00:55
+0000)
committer
Benjamin Otte
<otte@gnome.org>
Sun, 13 Apr 2003 00:55:08 +0000
(
00:55
+0000)
Original commit message from CVS:
don't error out on max-buffers = 0
gst/gsttypefind.c
patch
|
blob
|
history
diff --git
a/gst/gsttypefind.c
b/gst/gsttypefind.c
index
c5d9d7b
..
91e1c1c
100644
(file)
--- a/
gst/gsttypefind.c
+++ b/
gst/gsttypefind.c
@@
-235,7
+235,7
@@
gst_type_find_chain (GstPad *pad, GstBuffer *buf)
end:
gst_buffer_unref (buf);
- if (typefind->num_buffer >= typefind->max_buffers) {
+ if (typefind->
max_buffers && typefind->
num_buffer >= typefind->max_buffers) {
gst_element_error (GST_ELEMENT (typefind),
"typefind could not determine type after %d buffers", typefind->num_buffer);
}