mpegtsbase: Refactor scan loop
authorEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 13 Oct 2011 14:55:54 +0000 (16:55 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 13 Oct 2011 14:55:54 +0000 (16:55 +0200)
commitdb0633918ab0dce08f9a9a20961ca543ed6a467c
tree53b4b0d5666f3e805b1809b1e4c9562e3f1641d6
parente4b7967c9d12161f2eae410208c03bb4ed1b995c
mpegtsbase: Refactor scan loop

Avoids ending up leaking packets when we got one and res was different
from GST_FLOW_OK.

It also looks more comprehensible
gst/mpegtsdemux/mpegtsbase.c