libtorc-audio: Reset stream selections when decoder threads exiting
libtorc-core: Actually delete the decoder when playback has stopped
libtorc-video: Add DTS/PTS tracking

This is a straightforward lift from avplay in libav and avodec/utils.c
in ffmpeg