basesrc: in automatic_eos mode, don't modify the size
authorWim Taymans <wtaymans@redhat.com>
Tue, 18 Feb 2014 10:49:37 +0000 (11:49 +0100)
committerWim Taymans <wtaymans@redhat.com>
Tue, 18 Feb 2014 10:57:49 +0000 (11:57 +0100)
commit04a6c661c82a29df0627519da678595f48aa8abd
treef569a59daf4b90029f33099738284c73942099f3
parenta2742a575bd2af56fa093fd2dec8ce30b4fe6668
basesrc: in automatic_eos mode, don't modify the size

Don't set the size to -1 in automatic_eos mode (which also updates the
duration to -1). We only want automatic_eos mode influence the maxsize
calculations without any side effects.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=724564
libs/gst/base/gstbasesrc.c