[MPlayer-users] Re: BUG in mplayer!

Tobias Diedrich ranma at gmx.at
Fri Nov 7 16:44:59 CET 2003


Rainer Hantsch wrote:

> I can't believe that it is possible to have Linux to switch from 2048->2358
> sector size, but no way to switch from 2358->2048 ! If this would be, no
> player for Linux would be able to keep the CD-ROM usable after playing a VCD!
> Though, this works absolutely fine with mpegTV and XINE, so: "Are these
> programs some kind of miracle or magic?"

Oh, I'm sure there is a way if it works with XINE and mpegTV, but
thinking about it again, IMHO it still is a kernel bug if it does not
reset the drive to default behaviour when the device file handle is
closed.

Doing some short testing, I can't reproduce the problem.
If I play a SVCD with "mplayer vcd://1" I can still mount it fine
afterwards (kernel 2.4.22).  And the VCD reading code does nothing
suspicious, it just reads the toc and uses the CDROMREADRAW ioctl to
read the raw sectors, nothing of that should change the state of the
driver.

-- 
Tobias						PGP: http://9ac7e0bc.2ya.com
int main(int a,char **b){char i,j,t,*r=*++b;srand(getpid());for(;*r;)
{for(;*r&&!isalpha(*r);r++);for(i=1;isalpha(r[i+1]);i++){j=rand()%i;
t=r[i];r[i]=r[++j];r[j]=t;}r+=i+1;}puts(*b);}
np: V6: CHANGE THE WORLD 04 - CHANGE THE WORLD (Original Karaoke) []



More information about the MPlayer-users mailing list