mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
gst/playback/gstplaysink.c: Add some more comments.
Original commit message from CVS: * gst/playback/gstplaysink.c: (gst_play_sink_set_vis_plugin): Add some more comments.
This commit is contained in:
parent
824a8fc80c
commit
76456cb647
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* gst/playback/gstplaysink.c: (gst_play_sink_set_vis_plugin):
|
||||
Add some more comments.
|
||||
|
||||
2008-07-31 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* gst/videotestsrc/gstvideotestsrc.c: (gst_video_test_src_getcaps),
|
||||
|
|
|
@ -438,7 +438,10 @@ gst_play_sink_set_vis_plugin (GstPlaySink * playsink, GstElement * vis)
|
|||
|
||||
/* block the pad, the next time the callback is called we can change the
|
||||
* visualisation. It's possible that this never happens or that the pad was
|
||||
* already blocked. */
|
||||
* already blocked. If the callback never happens, we don't have new data so
|
||||
* we don't need the new vis plugin. If the pad was already blocked, the
|
||||
* function returns FALSE but the previous pad block will do the right thing
|
||||
* anyway. */
|
||||
GST_DEBUG_OBJECT (playsink, "blocking vis pad");
|
||||
gst_pad_set_blocked_async (chain->blockpad, TRUE, gst_play_sink_vis_blocked,
|
||||
playsink);
|
||||
|
|
Loading…
Reference in a new issue