From 10eabda41b057b493887b5207b2970aa87a69529 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 28 Jul 2014 12:08:12 +0200 Subject: [PATCH] playback/player: Add debug logging --- playback/player/gst-play/gst-play.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;