[MPlayer-dev-eng] [PATCH] Give more information about vid/aid/sid tracks in mkv container

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Dec 23 09:55:11 CET 2007


Hello,
On Sun, Dec 23, 2007 at 02:20:44PM +1100, James . wrote:
> I just realised that the patch does not work as well as the previous one.
> The output of the print does not respect the type of default_track
> (uint64_t) correctly (and will print large numbers instead of 1 and 0).

First, default_track is int, not uint64_t.
Second, I'd consider that the correct behaviour since that large number
is exactly what is stored in the mkv file, even though I do not know the
exact meaning.

> I do
> not know how to make the print work properly (tried %u, but somehow does not
> work either), as such please ignore the attached patch. Is there a way to
> make it simpler and not let it print garbage numbers?

You could just use "!!track->default_track" instead of
"track->default_track", but I don't think you should (unless you
verified that those different large numbers do not have some different
meanings that might be useful).

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list