# HG changeset patch # User ulion # Date 1197948816 0 # Node ID a79a22add62a5bcec5a6b52ba99b7ae84a6a2556 # Parent a0a6541b1944d721a7fe98b93688d754e2dbff2d Do not operate on vobsub when no video (Bug #312). diff -r a0a6541b1944 -r a79a22add62a mplayer.c --- a/mplayer.c Mon Dec 17 19:35:30 2007 +0000 +++ b/mplayer.c Tue Dec 18 03:33:36 2007 +0000 @@ -2272,7 +2272,7 @@ mpctx->sh_audio->a_out_buffer_len = 0; } - if (vo_vobsub) { + if (vo_vobsub && mpctx->sh_video) { current_module = "seek_vobsub_reset"; vobsub_seek(vo_vobsub, mpctx->sh_video->pts); }