Add progress report element to cp example.
authorStefan Kost <ensonic@users.sf.net>
Mon, 26 Jan 2009 09:11:18 +0000 (11:11 +0200)
committerStefan Kost <ensonic@users.sf.net>
Mon, 26 Jan 2009 09:11:18 +0000 (11:11 +0200)
examples/cp.py

index 025b30f..1111098 100755 (executable)
@@ -44,7 +44,8 @@ def filter(input, output):
 
    # create a new bin to hold the elements
    bin = gst.parse_launch('filesrc name=source ! ' +
-                          # This 'statistics' element is depreciated in 0.10
+                          'progressreport ! ' +
+                           # This 'statistics' element is depreciated in 0.10
                           #'statistics silent=false buffer-update-freq=1 ' +
                           #'update_on_eos=true ! ' +
                           'filesink name=sink')