aboutsummaryrefslogtreecommitdiffhomepage
path: root/TOOLS/matroska.pl
Commit message (Collapse)AuthorAge
* demux_mkv: make matroska.pl script output deterministicGravatar wm42015-03-11
| | | | | | Work around the randomized Perl hashtables by sorting the elements. Fixes #1673.
* demux_mkv: fix compiler warningsGravatar wm42013-11-04
| | | | | | | | | | | | | | | | Make TOOLS/matroska.pl output structs with fields sorted by name in ebml_types.h to make the order of fields deterministic. Fix warnings in demux_mkv.c caused by the first struct fields switching between scalar and struct types due to non-deterministic ebml_types.h field order. Since it's deterministic now, this shouldn't change anymore. The warnings produced by the compilers are bogus, but we want to silence them anyway, since this could make developers overlook legitimate warnings. What commits 7b52ba8, 6dd97cc, 4aae1ff were supposed to fix. An earlier attempt sorted fields in the generated C source file, not the header file. Hopefully this is the last commit concerning this issue...
* matroska.pl: Sort the generated struct field listGravatar Diogo Franco (Kovensky)2013-11-02
| | | | | | | Newer versions of perl randomize the hash used for hashes every time it's run; this makes the order of the fields be non-deterministic. Tack a sort there to make it deterministic. Needed to fix (or allow fixing) a buggy gcc warning.
* Port several python scripts to PerlGravatar Kovensky2012-11-08
file2string.pl and vdpau_functions.pl are direct ports. matroska.py was reimplemented as the Parse::Matroska module in CPAN, and matroska.pl was made a client of Parse::Matroska. A copy of Parse::Matroska is included in TOOLS/lib, and matroska.pl looks there first when trying to load the module. osxbundle.py was not ported since I have no means to verify it. Python is always available on OSX though, so there is no harm in removing the check for it on configure.