diff options
Diffstat (limited to 'examples/gstplay')
-rw-r--r-- | examples/gstplay/player.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/gstplay/player.c b/examples/gstplay/player.c index 41fbb546..ef58e326 100644 --- a/examples/gstplay/player.c +++ b/examples/gstplay/player.c @@ -149,6 +149,8 @@ main (int argc, char *argv[]) g_main_loop_run (loop); + gst_element_set_state (GST_ELEMENT (play), GST_STATE_READY); + /* unref */ gst_object_unref (GST_OBJECT (play)); |