urisourcebin: don't set watermarks when download
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 3 Apr 2019 16:52:50 +0000 (18:52 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 8 Apr 2019 11:16:22 +0000 (11:16 +0000)
commitaa30e8d373bb339652ddda83378037f53c7f697c
tree254dbaedd914711fcbb6fed3c5ff02e6d4c56b05
parentc701d17f12aca3dda6f2bba135fdd9607bbd0a65
urisourcebin: don't set watermarks when download

downloadbuffer element doesn't handle the properties low-watermark and
high-watermark, those are handled by queue2.

Currently hi and low watermarks are set regardless queue2 or
downloadbuffer are used. Thus, when the later is set, a warning is
raised.

This patch sets the watermark properties first, if no download.
gst/playback/gsturisourcebin.c