diff --git a/playback/player/gst-play/gst-play.c b/playback/player/gst-play/gst-play.c index b5572d61b6..7981146549 100644 --- a/playback/player/gst-play/gst-play.c +++ b/playback/player/gst-play/gst-play.c @@ -135,7 +135,7 @@ play_free (GstPlay * play) { play_reset (play); - g_object_unref (play->player); + gst_object_unref (play->player); g_main_loop_unref (play->loop); @@ -423,6 +423,8 @@ main (int argc, char **argv) } g_option_context_free (ctx); + GST_DEBUG_CATEGORY_INIT (play_debug, "play", 0, "gst-play"); + if (print_version) { gchar *version_str;