From: Stefan Kost Date: Mon, 1 Nov 2010 21:07:12 +0000 (+0200) Subject: playbin2: add some logging for failure case X-Git-Tag: RELEASE-0.10.32~172 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=95b259f9c95680b1f47eeee8ce22537bf41d1998;p=platform%2Fupstream%2Fgst-plugins-base.git playbin2: add some logging for failure case --- diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index 12d72eb..75f19ab 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -1472,6 +1472,7 @@ gst_play_bin_set_current_video_stream (GstPlayBin * playbin, gint stream) no_channels: { GST_PLAY_BIN_UNLOCK (playbin); + GST_DEBUG_OBJECT (playbin, "can't switch video, we have no channels"); return FALSE; } } @@ -1514,6 +1515,7 @@ gst_play_bin_set_current_audio_stream (GstPlayBin * playbin, gint stream) no_channels: { GST_PLAY_BIN_UNLOCK (playbin); + GST_DEBUG_OBJECT (playbin, "can't switch audio, we have no channels"); return FALSE; } }