summaryrefslogtreecommitdiff
path: root/examples/pipeline-tester
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2005-09-05 14:20:06 +0000
committerEdward Hervey <bilboed@bilboed.com>2005-09-05 14:20:06 +0000
commit934c77178d5f4a1a385dd233dc7d87b71fdfaed3 (patch)
tree80f99072949589add2263e26ceb273eca23376d3 /examples/pipeline-tester
parent9ddd53563de00e51c7b0b26e88d590edff696232 (diff)
examples/pipeline-tester: New API: STATE_SUCCESS -> STATE_CHANGE_SUCCESS
Original commit message from CVS: * examples/pipeline-tester: (Window.play): New API: STATE_SUCCESS -> STATE_CHANGE_SUCCESS
Diffstat (limited to 'examples/pipeline-tester')
-rwxr-xr-xexamples/pipeline-tester2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pipeline-tester b/examples/pipeline-tester
index afa10ca..fa0bece 100755
--- a/examples/pipeline-tester
+++ b/examples/pipeline-tester
@@ -224,7 +224,7 @@ class Window(gtk.Window):
self.error('Could not create pipeline', str(e))
return False
watch_id = pipeline.get_bus().add_watch(self.on_message)
- if pipeline.set_state(gst.STATE_PLAYING) != gst.STATE_SUCCESS:
+ if pipeline.set_state(gst.STATE_PLAYING) != gst.STATE_CHANGE_SUCCESS:
# make sure we get error messages
while gtk.events_pending():
gtk.main_iteration()