mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
playbin2: add some logging for failure case
This commit is contained in:
parent
baa2fbbb68
commit
95b259f9c9
1 changed files with 2 additions and 0 deletions
|
@ -1472,6 +1472,7 @@ gst_play_bin_set_current_video_stream (GstPlayBin * playbin, gint stream)
|
||||||
no_channels:
|
no_channels:
|
||||||
{
|
{
|
||||||
GST_PLAY_BIN_UNLOCK (playbin);
|
GST_PLAY_BIN_UNLOCK (playbin);
|
||||||
|
GST_DEBUG_OBJECT (playbin, "can't switch video, we have no channels");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1514,6 +1515,7 @@ gst_play_bin_set_current_audio_stream (GstPlayBin * playbin, gint stream)
|
||||||
no_channels:
|
no_channels:
|
||||||
{
|
{
|
||||||
GST_PLAY_BIN_UNLOCK (playbin);
|
GST_PLAY_BIN_UNLOCK (playbin);
|
||||||
|
GST_DEBUG_OBJECT (playbin, "can't switch audio, we have no channels");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue