﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
8290	DVD: internal player exits on menu transition	linux@…	skamithi	"Hi,

I have some DVDs for which the internal DVD player exits right after the movie studio logo sequence at the beginning of the DVD instead of proceeding to the DVD menu. I started seeing this problem with 0.22 while in in 0.21 it was not present.
Jumping directly to the menu during that sequence is a workaround for the problem.

I did some debugging and the problem is that in {{{AvFormatDecoder::GetFrame}}} the call of {{{av_read_frame(ic, pkt)}}} in line 3669 returns -1 while the transition to the DVD menu is in progress which makes the player exit:

{{{
            if (!ic || (av_read_frame(ic, pkt) < 0))
            {
                ateof = true;
                GetNVP()->SetEof();
                delete pkt;
                return false;
            }
}}}

Ignoring the return code solves the problem, but hardly looks like the proper fix to me.

I am attaching the log of a '-v playback,extra' run to this ticket, and am running the release-0-23-fixes branch at 23952.

Thanks and best wishes,

Martin.

"	defect	closed	minor	0.24	MythTV - DVD Playback	unknown	medium	Fixed			0
