mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06: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:
|
||||
{
|
||||
GST_ERROR_OBJECT (scope, "no format");
|
||||
gst_caps_unref (target);
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -886,6 +887,7 @@ gst_audio_visualizer_chain (GstPad * pad, GstObject * parent,
|
|||
bps = GST_AUDIO_INFO_BPS (&scope->ainfo);
|
||||
|
||||
if (bps == 0) {
|
||||
GST_ERROR_OBJECT (scope, "no BPS set");
|
||||
ret = GST_FLOW_NOT_NEGOTIATED;
|
||||
goto beach;
|
||||
}
|
||||
|
@ -973,6 +975,7 @@ gst_audio_visualizer_chain (GstPad * pad, GstObject * parent,
|
|||
/* call class->render() vmethod */
|
||||
if (klass->render) {
|
||||
if (!klass->render (scope, inbuf, &outframe)) {
|
||||
GST_ERROR_OBJECT (scope, "render failed");
|
||||
ret = GST_FLOW_ERROR;
|
||||
} else {
|
||||
/* run various post processing (shading and geometri transformation */
|
||||
|
|
Loading…
Reference in a new issue