~ubuntu-branches/ubuntu/trusty/oggconvert/trusty

« back to all changes in this revision

Viewing changes to OggConvert/ocv_init.py

  • Committer: Bazaar Package Importer
  • Author(s): Jean-Louis Dupond
  • Date: 2010-05-25 01:42:16 UTC
  • mfrom: (1.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100525014216-678rulxkk0sivqwf
Tags: 0.3.3-1ubuntu1
* Merge from debian unstable. (LP: #590867) Remaining changes:
  - Suggest gstreamer multiverse plugins.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
        ocv_constants.HAVE_MATROSKA = False
49
49
    else:
50
50
        ocv_constants.HAVE_MATROSKA = True
 
51
        
 
52
if ocv_constants.HAVE_WEBM is None:
 
53
    if (ocv_constants.HAVE_MATROSKA is True) and \
 
54
       gst.element_factory_find("matroskamux").check_version(0, 10, 22):
 
55
        print "Webm container multiplexer found, using"
 
56
        ocv_constants.HAVE_WEBM = True
 
57
    else:
 
58
        ocv_constants.HAVE_WEBM = False
 
59
           
 
60
if ocv_constants.HAVE_VP8 is None:
 
61
    if gst.element_factory_find("vp8enc"):
 
62
        print "VP8 encoder found, using"
 
63
        ocv_constants.HAVE_VP8 = True
 
64
    else:
 
65
        ocv_constants.HAVE_VP8 = False