mpeg2dec: fix position query by trusting upstream
authorGuillaume Emont <gemont@igalia.com>
Wed, 13 Oct 2010 19:38:06 +0000 (21:38 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 19 Oct 2010 14:31:23 +0000 (16:31 +0200)
commit7fb7129a832b4f69800eb4b49ed2a99904ed2e7c
treece0d638b91a032ef9c27c620be56bc5cff04d1b9
parent26cd4ee3a0a3071c198d2ce4cd98f91aff01aa84
mpeg2dec: fix position query by trusting upstream

Position queries are badly handled for DVDs (probably due to the division in
chapters): the time returned was the time since the start of chapter.

Now ask upstream for position queries, fall back to the old code if upstream
cannot answer the query.
ext/mpeg2dec/gstmpeg2dec.c