mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
playback/player: Add debug logging
This commit is contained in:
parent
153efa0077
commit
10eabda41b
1 changed files with 3 additions and 1 deletions
|
@ -135,7 +135,7 @@ play_free (GstPlay * play)
|
||||||
{
|
{
|
||||||
play_reset (play);
|
play_reset (play);
|
||||||
|
|
||||||
g_object_unref (play->player);
|
gst_object_unref (play->player);
|
||||||
|
|
||||||
g_main_loop_unref (play->loop);
|
g_main_loop_unref (play->loop);
|
||||||
|
|
||||||
|
@ -423,6 +423,8 @@ main (int argc, char **argv)
|
||||||
}
|
}
|
||||||
g_option_context_free (ctx);
|
g_option_context_free (ctx);
|
||||||
|
|
||||||
|
GST_DEBUG_CATEGORY_INIT (play_debug, "play", 0, "gst-play");
|
||||||
|
|
||||||
if (print_version) {
|
if (print_version) {
|
||||||
gchar *version_str;
|
gchar *version_str;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue