summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/play/playpipelines.c
diff options
context:
space:
mode:
authorJulien Moutte <julien@moutte.net>2003-03-30 10:21:40 +0000
committerJulien Moutte <julien@moutte.net>2003-03-30 10:21:40 +0000
commite71c9b9acab4b12044ba49dde24985ef19a95441 (patch)
tree4eed387491cb592d7bfa093fc5d94479c213233f /gst-libs/gst/play/playpipelines.c
parent620e0f274df8bf7a4da64f7ef1421265df816b10 (diff)
downloadgst-plugins-bad-e71c9b9acab4b12044ba49dde24985ef19a95441.tar.gz
gst-plugins-bad-e71c9b9acab4b12044ba49dde24985ef19a95441.tar.bz2
gst-plugins-bad-e71c9b9acab4b12044ba49dde24985ef19a95441.zip
Fixed seeking discont with visualisation
Original commit message from CVS: Fixed seeking discont with visualisation
Diffstat (limited to 'gst-libs/gst/play/playpipelines.c')
-rw-r--r--gst-libs/gst/play/playpipelines.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/gst-libs/gst/play/playpipelines.c b/gst-libs/gst/play/playpipelines.c
index 3b8fb61d..952ca8a7 100644
--- a/gst-libs/gst/play/playpipelines.c
+++ b/gst-libs/gst/play/playpipelines.c
@@ -201,6 +201,11 @@ gst_play_audiot_set_audio ( GstPlay *play,
audio_sink,
GST_PLAY_SINK_TYPE_AUDIO);
+ play->visualisation_sink_element = gst_play_get_sink_element (
+ play,
+ audio_sink,
+ GST_PLAY_SINK_TYPE_VIDEO);
+
if (play->audio_sink_element != NULL) {
g_signal_connect (G_OBJECT (play->audio_sink_element), "eos",
G_CALLBACK (callback_audio_sink_eos), play);
@@ -352,6 +357,11 @@ gst_play_audioht_set_audio ( GstPlay *play,
audio_sink,
GST_PLAY_SINK_TYPE_AUDIO);
+ play->visualisation_sink_element = gst_play_get_sink_element (
+ play,
+ audio_sink,
+ GST_PLAY_SINK_TYPE_VIDEO);
+
if (play->audio_sink_element != NULL) {
g_signal_connect (G_OBJECT (play->audio_sink_element), "eos",
G_CALLBACK (callback_audio_sink_eos), play);
@@ -660,6 +670,11 @@ gst_play_video_set_audio ( GstPlay *play,
audio_sink,
GST_PLAY_SINK_TYPE_AUDIO);
+ play->visualisation_sink_element = gst_play_get_sink_element (
+ play,
+ audio_sink,
+ GST_PLAY_SINK_TYPE_VIDEO);
+
if (play->audio_sink_element != NULL) {
g_signal_connect (G_OBJECT (play->audio_sink_element), "eos",
G_CALLBACK (callback_audio_sink_eos), play);