mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 13:08:49 +00:00
audiovis: add more debug
This commit is contained in:
parent
4737df3ac3
commit
bd9a7fdeaf
1 changed files with 3 additions and 0 deletions
|
@ -831,6 +831,7 @@ gst_audio_visualizer_src_negotiate (GstAudioVisualizer * scope)
|
||||||
|
|
||||||
no_format:
|
no_format:
|
||||||
{
|
{
|
||||||
|
GST_ERROR_OBJECT (scope, "no format");
|
||||||
gst_caps_unref (target);
|
gst_caps_unref (target);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
@ -886,6 +887,7 @@ gst_audio_visualizer_chain (GstPad * pad, GstObject * parent,
|
||||||
bps = GST_AUDIO_INFO_BPS (&scope->ainfo);
|
bps = GST_AUDIO_INFO_BPS (&scope->ainfo);
|
||||||
|
|
||||||
if (bps == 0) {
|
if (bps == 0) {
|
||||||
|
GST_ERROR_OBJECT (scope, "no BPS set");
|
||||||
ret = GST_FLOW_NOT_NEGOTIATED;
|
ret = GST_FLOW_NOT_NEGOTIATED;
|
||||||
goto beach;
|
goto beach;
|
||||||
}
|
}
|
||||||
|
@ -973,6 +975,7 @@ gst_audio_visualizer_chain (GstPad * pad, GstObject * parent,
|
||||||
/* call class->render() vmethod */
|
/* call class->render() vmethod */
|
||||||
if (klass->render) {
|
if (klass->render) {
|
||||||
if (!klass->render (scope, inbuf, &outframe)) {
|
if (!klass->render (scope, inbuf, &outframe)) {
|
||||||
|
GST_ERROR_OBJECT (scope, "render failed");
|
||||||
ret = GST_FLOW_ERROR;
|
ret = GST_FLOW_ERROR;
|
||||||
} else {
|
} else {
|
||||||
/* run various post processing (shading and geometri transformation */
|
/* run various post processing (shading and geometri transformation */
|
||||||
|
|
Loading…
Reference in a new issue