add annoying version check for 0.6 API

Original commit message from CVS:
add annoying version check for 0.6 API
This commit is contained in:
David I. Lehn 2003-10-10 04:22:27 +00:00
parent 171bc6bfa9
commit 6032476a06
3 changed files with 16 additions and 2 deletions

View file

@ -1,3 +1,15 @@
2003-10-10 David I. Lehn <dlehn@users.sourceforge.net>
* configure.ac, gstreamer/Makefile.am, gstreamer/*: Mass change to
support compiling for both 0.6 and 0.7. Common support is now in
common.{defs,override,c,h}. Specific version support is in
{0.6,0.7}.{defs,override,c,h}. The common and version specific files
are merged and/or used as needed.
* gstreamer/common.override: add gst_version
* examples/gstreamer/ilat.py: add annoying version check for 0.6 API
2003-10-09 David I. Lehn <dlehn@users.sourceforge.net>
* configure.ac: require autoconf 2.57 and pygtk 2.0.0.

View file

@ -93,7 +93,8 @@ def check(f, n, b):
def main():
"Identity timer and latency check"
gst_debug_set_categories(0L)
if gst_version() < (0,7,0):
gst_debug_set_categories(0L)
if len(sys.argv) < 3:
print 'usage: %s identites buffers' % (sys.argv[0],)

View file

@ -93,7 +93,8 @@ def check(f, n, b):
def main():
"Identity timer and latency check"
gst_debug_set_categories(0L)
if gst_version() < (0,7,0):
gst_debug_set_categories(0L)
if len(sys.argv) < 3:
print 'usage: %s identites buffers' % (sys.argv[0],)