[MPlayer-users] BUG: incorrect smil playlist parsing

mplayer at zacglen.com mplayer at zacglen.com
Thu May 13 07:46:47 CEST 2010


BUG: incorrect smil playlist parsing

Suppose one has a smil file containing a line such as:

	src="abc/def.wav"

The current playlist tree building code (in playtree.c and playtreeparser.c)
do not properly handle this case of a relative file path.

A relative file path such as the above is relative to the smil playlist
file which contains the reference.

If, for example, the parsed smil file is at /path/to/xyz.smil then the
resultant file should become /path/to/abc/def.wav

This means that when building the playlist tree the directory component
of each parsed file must be stored in the tree so that relative
file references can be correctly resolved.




More information about the MPlayer-users mailing list