mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
gst/playback/gstplaybin.c: Update vis bin docs.
Original commit message from CVS: * gst/playback/gstplaybin.c: (gen_vis_element): Update vis bin docs. Move queue after tee so we don't queue video buffers but audio samples instead. Fixes problems where the video queue is filled and the audio queue empty.
This commit is contained in:
parent
c60b2b46b2
commit
8ad81db4b8
2 changed files with 26 additions and 19 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2006-02-13 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* gst/playback/gstplaybin.c: (gen_vis_element):
|
||||||
|
Update vis bin docs.
|
||||||
|
Move queue after tee so we don't queue video buffers but
|
||||||
|
audio samples instead. Fixes problems where the video queue
|
||||||
|
is filled and the audio queue empty.
|
||||||
|
|
||||||
2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
|
2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_create):
|
* gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_create):
|
||||||
|
|
|
@ -793,21 +793,21 @@ gen_audio_element (GstPlayBin * play_bin)
|
||||||
* normal video bin. The video bin is run in a thread to make sure it does
|
* normal video bin. The video bin is run in a thread to make sure it does
|
||||||
* not block the audio playback pipeline.
|
* not block the audio playback pipeline.
|
||||||
*
|
*
|
||||||
* +--------------------------------------------------------------------------+
|
* +--------------------------------------------------------------------+
|
||||||
* | visbin |
|
* | visbin |
|
||||||
* | +------+ +----------------+ |
|
* | +------+ +--------+ +----------------+ |
|
||||||
* | | tee | | abin ... | |
|
* | | tee | | aqueue | | abin ... | |
|
||||||
* | +-sink src-sink | |
|
* | +-sink src-sink src-sink | |
|
||||||
* | | | | +----------------+ +-------------------+ |
|
* | | | | +--------+ +----------------+ |
|
||||||
* | | | | | vthread | |
|
* | | | | |
|
||||||
* | | | | +---------+ +------+ +------+ | +--------------+ | |
|
* | | | | +------+ +---------+ +------+ +-----------+ |
|
||||||
* | | | | |audioconv| | vis | |vqueue| | | vbin ... | | |
|
* | | | | |vqueue| |audioconv| | vis | | vbin ... | |
|
||||||
* | | | src-sink src-sink src-sink src-sink | | |
|
* | | | src-sink src-sink src-sink src-sink | |
|
||||||
* | | | | +---------+ +------+ +------+ | +--------------+ | |
|
* | | | | +------+ +---------+ +------+ +-----------+ |
|
||||||
* | | | | +-------------------+ |
|
* | | | | |
|
||||||
* | | +------+ |
|
* | | +------+ |
|
||||||
* sink-+ |
|
* sink-+ |
|
||||||
+--------------------------------------------------------------------------+
|
+---------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
static GstElement *
|
static GstElement *
|
||||||
gen_vis_element (GstPlayBin * play_bin)
|
gen_vis_element (GstPlayBin * play_bin)
|
||||||
|
@ -853,10 +853,9 @@ gen_vis_element (GstPlayBin * play_bin)
|
||||||
gst_bin_add (GST_BIN (element), conv);
|
gst_bin_add (GST_BIN (element), conv);
|
||||||
gst_bin_add (GST_BIN (element), vis);
|
gst_bin_add (GST_BIN (element), vis);
|
||||||
|
|
||||||
|
gst_element_link_pads (vqueue, "src", conv, "sink");
|
||||||
gst_element_link_pads (conv, "src", vis, "sink");
|
gst_element_link_pads (conv, "src", vis, "sink");
|
||||||
gst_element_link_pads (vis, "src", vqueue, "sink");
|
gst_element_link_pads (vis, "src", vsink, "sink");
|
||||||
|
|
||||||
gst_element_link_pads (vqueue, "src", vsink, "sink");
|
|
||||||
|
|
||||||
pad = gst_element_get_pad (aqueue, "sink");
|
pad = gst_element_get_pad (aqueue, "sink");
|
||||||
rpad = gst_element_get_request_pad (tee, "src%d");
|
rpad = gst_element_get_request_pad (tee, "src%d");
|
||||||
|
@ -865,7 +864,7 @@ gen_vis_element (GstPlayBin * play_bin)
|
||||||
gst_object_unref (pad);
|
gst_object_unref (pad);
|
||||||
gst_element_link_pads (aqueue, "src", asink, "sink");
|
gst_element_link_pads (aqueue, "src", asink, "sink");
|
||||||
|
|
||||||
pad = gst_element_get_pad (conv, "sink");
|
pad = gst_element_get_pad (vqueue, "sink");
|
||||||
rpad = gst_element_get_request_pad (tee, "src%d");
|
rpad = gst_element_get_request_pad (tee, "src%d");
|
||||||
gst_pad_link (rpad, pad);
|
gst_pad_link (rpad, pad);
|
||||||
gst_object_unref (rpad);
|
gst_object_unref (rpad);
|
||||||
|
|
Loading…
Reference in a new issue