playbin2: add some logging for failure case

This commit is contained in:
Stefan Kost 2010-11-01 23:07:12 +02:00
parent baa2fbbb68
commit 95b259f9c9

View file

@ -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;
}
}