libstagefright: mpeg2ts: Ignore continuity_counter discontinuity

The continuity counter is incremented for each ts packet. Any lost
packet results in a discontinuity, and the stock parser flushes the
current frame data leading to corruption if an I-frame is lost.
Avoid flushing on discontinuity to prevent some of this corruption.

CRs-Fixed: 663391

Change-Id: I683269dcb36a1424f6d9a6e543cf9e1ead0103a7
libstagefright: Keep LOOPING/AUTO_LOOPING flag during teardown

-LOOPING/AUTO_LOOPING flag is cleared during audio teardown process,
 then stream can only be played once which is not expected
-copy the previous looping flags and restore them after reset_l()
 is called

Change-Id: I4435d2b1d4d82efb235fc8099efa7d9f3d6af2d2
CRs-Fixed: 681711