[MPlayer-dev-eng] [PATCH] VCD Playback via libdcio

R. Bernstein rocky at panix.com
Thu Dec 16 01:33:51 CET 2004


D Richard Felker III writes:
 > probing cdrom drives is NOT a feature, ...
 > probing nonsense belongs on windows, not on *nix!!!
 > 
 > can this be disabled?

Sure, if you don't want this behavior you make sure 
   extern char *cdrom_device;

is set to something. I'm sorry I don't know in mplayer controls what
causes this to get set. I see in my .mplayer/gui.conf:
  dvd_device = "/dev/dvd"

so perhaps cdrom_device="/dev/cdrom" will do it for you. 

You may misunderstand the behavior I alluded to, because probing works
a little different in 'Doze and what people tells me happens on
OSX. On Redhat GNU/Linux there is some provision for this "CD
auto-detection" via a package called "MagicDev"

On those systems under conditions I'm not all that clear about, when a
CD is inserted some sort of program can trigger. I sometimes find it a
little annoying, but presumably there are a number of people who don't
or otherwise it would have been removed rather than proliferated in
Redhat GNU/Linux (and OSX) for example.

In the libcdio VCD, probing is only done when you ask to play a VCD
and neither explicitly specify the device nor have a device set in
whatever it is that controls that cdrom_device variable.

If you haven't actually tried the patch, I'd suggest trying it before
making a pontification. 

As for myself, I have a couple of CD-ROM drives and often find it
helpful not to have to specify which one I've put in a VCD (or CD-DA);
I like saying basically "use the drive that has the right medium for
what I'm requesting to be played". It also frees me of knowing what
the name if the CD-ROM device is on this system (/dev/hdc, /dev/cdrom,
/dev/acd{0,1}c, /dev/rsr{0,1}c, /vol/dev/aliases/cdrom{0,1}, \\.\\B).

Different people like/detest different things. So we let each choose
the behavior they prefer. 




More information about the MPlayer-dev-eng mailing list