Use av_frame_alloc() instead of avcodec_alloc_frame()
Fix bug where autoconfigured stereo input doesn't work
Add more debug prints
Revise comment
Delete debug prints from mpegts.c