mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 17:18:15 +00:00
ext/libvisual/visual.c: add missing visual_audio_analyze
Original commit message from CVS: * ext/libvisual/visual.c: (gst_visual_chain): add missing visual_audio_analyze
This commit is contained in:
parent
8df8afe28b
commit
44b5a2a85c
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-05-14 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||
|
||||
* ext/libvisual/visual.c: (gst_visual_chain):
|
||||
add missing visual_audio_analyze
|
||||
|
||||
2004-05-14 David Schleef <ds@schleef.org>
|
||||
|
||||
* ext/esd/esdsink.c: (gst_esdsink_chain): Fix crash when ESD
|
||||
|
|
|
@ -296,6 +296,7 @@ gst_visual_chain (GstPad * pad, GstData * _data)
|
|||
ret = gst_pad_alloc_buffer (visual->srcpad, GST_BUFFER_OFFSET_NONE,
|
||||
visual->video->width * visual->video->width * visual->video->bpp);
|
||||
visual_video_set_buffer (visual->video, GST_BUFFER_DATA (ret));
|
||||
visual_audio_analyze (&visual->audio);
|
||||
visual_actor_run (visual->actor, &visual->audio);
|
||||
GST_BUFFER_TIMESTAMP (ret) = GST_SECOND * visual->count++ / visual->fps;
|
||||
GST_BUFFER_DURATION (ret) = GST_SECOND / visual->fps;
|
||||
|
|
Loading…
Reference in a new issue