baseparse: Restrict query/convert responses when demuxing
authorJan Schmidt <jan@centricular.com>
Tue, 15 Nov 2016 12:51:06 +0000 (23:51 +1100)
committerJan Schmidt <jan@centricular.com>
Tue, 15 Nov 2016 13:12:22 +0000 (00:12 +1100)
commitd81c0aec8164f27019b8b768eeebdc62ee5e5c68
tree1c7465257d90c8132d8ffa239396d3bc6b283f71
parenta6ca8dfb42140e306de79506cf65ecf12e3912a5
baseparse: Restrict query/convert responses when demuxing

If the parser is not parsing a raw elementary stream, restrict
the position, duration and conversion query replies to
things we can sensibly answer about - especially don't do
random conversions to/from bytes.
libs/gst/base/gstbaseparse.c