[matroska] r748 - trunk/RbMatroska
| Newsgroups | gmane.comp.multimedia.matroska.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: mosu Date: 2004-09-06 14:56:17 +0400 (Mon, 06 Sep 2004) New Revision: 748 Modified: trunk/RbMatroska/ebml.rb trunk/RbMatroska/gen_classes_from_libmatroska trunk/RbMatroska/matroska.rb trunk/RbMatroska/mkvinfo.rb Log: Added license notes. Modified: trunk/RbMatroska/ebml.rb =================================================================== --- trunk/RbMatroska/ebml.rb 2004-09-06 10:45:16 UTC (rev 747) +++ trunk/RbMatroska/ebml.rb 2004-09-06 10:56:17 UTC (rev 748) @@ -1,5 +1,19 @@ #!/usr/bin/ruby +# +# Distributed under the MIT license +# see the file COPYING for details +# or visit http://www.opensource.org/licenses/mit-license.php +# +# $Id$ +# +# A simple EBML parser based loosely on libebml and other +# EBML implementations. It also contains classes for the global EBML +# elements mentioned on # http://www.matroska.org/technical/specs/index.html +# +# Written by Moritz Bunkus <[email protected]>. +# + module Ebml def coded_size(s) if (s <= 0x0000007f) Modified: trunk/RbMatroska/gen_classes_from_libmatroska =================================================================== --- trunk/RbMatroska/gen_classes_from_libmatroska 2004-09-06 10:45:16 UTC (rev 747) +++ trunk/RbMatroska/gen_classes_from_libmatroska 2004-09-06 10:56:17 UTC (rev 748) @@ -1,5 +1,19 @@ #!/bin/sh +# +# Distributed under the MIT license +# see the file COPYING for details +# or visit http://www.opensource.org/licenses/mit-license.php +# +# $Id$ +# +# A simple script for converting classes from the +# libmatroska source code into Ruby classes useful for +# matroska.rb +# +# Written by Moritz Bunkus <[email protected]>. +# + cd ~/prog/video/libmatroska/src for CPP in *.cpp ; do BASE=`basename $CPP .cpp` Modified: trunk/RbMatroska/matroska.rb =================================================================== --- trunk/RbMatroska/matroska.rb 2004-09-06 10:45:16 UTC (rev 747) +++ trunk/RbMatroska/matroska.rb 2004-09-06 10:56:17 UTC (rev 748) @@ -1,5 +1,18 @@ #!/usr/bin/ruby +# +# Distributed under the MIT license +# see the file COPYING for details +# or visit http://www.opensource.org/licenses/mit-license.php +# +# $Id$ +# +# Classes for the "Matroska EBML doc type". Generated with +# gen_classes_from_libmatroska. +# +# Written by Moritz Bunkus <[email protected]>. +# + require "ebml" module Matroska Modified: trunk/RbMatroska/mkvinfo.rb =================================================================== --- trunk/RbMatroska/mkvinfo.rb 2004-09-06 10:45:16 UTC (rev 747) +++ trunk/RbMatroska/mkvinfo.rb 2004-09-06 10:56:17 UTC (rev 748) @@ -1,5 +1,19 @@ #!/usr/bin/ruby +# +# Distributed under the MIT license +# see the file COPYING for details +# or visit http://www.opensource.org/licenses/mit-license.php +# +# $Id$ +# +# A Matroska file parsing information tool. It'll read +# all elements as they're found and output the resulting +# tree including the element contents. +# +# Written by Moritz Bunkus <[email protected]>. +# + require "ebml" def dump_rec(element, level = 0)