# HG changeset patch # User michael # Date 1180820929 0 # Node ID 495161f790939c640da40b0a20e40a372592de51 # Parent b5f2710d2dd08c4d283de4c8b82504811ffc7d23 correct implementation of "try with auto_guess if first detection fails" (untested) diff -r b5f2710d2dd0 -r 495161f79093 mpegts.c --- a/mpegts.c Sat Jun 02 21:44:20 2007 +0000 +++ b/mpegts.c Sat Jun 02 21:48:49 2007 +0000 @@ -1271,10 +1271,10 @@ handle_packets(ts, s->probesize); } - /* if could not find service, exit */ + /* if could not find service, enable auto_guess */ if (ts->set_service_ret != 0) - return -1; + ts->auto_guess = 1; #ifdef DEBUG_SI av_log(ts->stream, AV_LOG_DEBUG, "tuning done\n");