diff options
author | Andy Wingo <wingo@pobox.com> | 2005-09-02 15:44:50 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2005-09-02 15:44:50 +0000 |
commit | 7ebd7b97d480d4047051c29ad5213791b7620f6c (patch) | |
tree | 7a4cfa3c197d393d6eb23d0fbac8bee97dc6d329 /examples/stats/mp2ogg.c | |
parent | e6280d445d618272800e7bd39b9e83ba82d8a4bc (diff) |
All plugins updated for element state changes.
Original commit message from CVS:
2005-09-02 Andy Wingo <wingo@pobox.com>
* All plugins updated for element state changes.
Diffstat (limited to 'examples/stats/mp2ogg.c')
-rw-r--r-- | examples/stats/mp2ogg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/stats/mp2ogg.c b/examples/stats/mp2ogg.c index f62fe5d4..d39323ca 100644 --- a/examples/stats/mp2ogg.c +++ b/examples/stats/mp2ogg.c @@ -59,7 +59,8 @@ main (gint argc, gchar * argv[]) dec_sink = gst_element_get_pad (decoder, "sink"); enc_src = gst_element_get_pad (encoder, "src"); - if (gst_element_set_state (pipeline, GST_STATE_PLAYING) != GST_STATE_SUCCESS) { + if (gst_element_set_state (pipeline, + GST_STATE_PLAYING) != GST_STATE_CHANGE_SUCCESS) { g_print ("pipeline doesn't want to play\n"); return -1; } |