baseparse: Fix previous commit
authorJan Schmidt <jan@centricular.com>
Tue, 15 Nov 2016 13:30:26 +0000 (00:30 +1100)
committerJan Schmidt <jan@centricular.com>
Tue, 15 Nov 2016 13:30:26 +0000 (00:30 +1100)
commit2e579a7c1bfd555fbbf5b27142bf16bc93429670
tree15320bdc5844d73874071dc4bad7e5ad59accd18
parentd81c0aec8164f27019b8b768eeebdc62ee5e5c68
baseparse: Fix previous commit

Check the correct segment format value.

parse->segment.format is the format we're outputting in,
not the upstream format. Use parse->priv->upstream_format instead,
and make sure it's set in pull mode.
libs/gst/base/gstbaseparse.c