[vlc] Re: module score

Kushal Dalal kushal.dalal at einfochips.com
Wed Jul 5 10:51:02 CEST 2006


Rmi Denis-Courmont,

Thanks a lot.
Actually, my vlc(compiled on linux with ffmpeg and winXP from bianry) does
not play mpeg4 streams.
I think it opens mpgv module instead of mpeg4.
I'm looking for a module open() for mpeg4 decoder module.
Please provide some pointers for that.

Thanks
Kushal

-----Original Message-----
From: vlc-bounce at videolan.org [mailto:vlc-bounce at videolan.org] On Behalf Of
Rémi Denis-Courmont
Sent: Wednesday, July 05, 2006 12:58 PM
To: vlc at videolan.org
Cc: Kushal Dalal
Subject: [vlc] Re: module score

Selon Kushal Dalal <kushal.dalal at einfochips.com>:

> What this score indicate for modules?

This prioritizes modules advertising the same capability.
When a certain capability is requested and there is no specific module name,
libvlc will try each available module advertising the capability in reverse
score order, until one succeeds (i.e. its Open() callback returns
VLC_SUCCESS).

> What if score is 0 for some module?

It will have lowest priority. That does not matter if the module is the only
one of its kind or if it is always invoked with its name explicitly.

On the other hand, for some capabilities, correct score selection is very
important. IIRC, the ts demux plugin will "always" succeed, which mean any
demuxer with a lower priority than that of ts will never have any chance of
being invoked, except through explicit naming.

-- 
Rmi Denis-Courmont





eInfochips Business Disclaimer:
This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by eInfochips Limited and/or eInfochips Inc("eInfochips") unless sent with that express intent and with due authority of eInfochips. eInfochips has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email.

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list