diff options
author | Julien Moutte <julien@moutte.net> | 2003-03-30 10:21:40 +0000 |
---|---|---|
committer | Julien Moutte <julien@moutte.net> | 2003-03-30 10:21:40 +0000 |
commit | e71c9b9acab4b12044ba49dde24985ef19a95441 (patch) | |
tree | 4eed387491cb592d7bfa093fc5d94479c213233f /gst-libs/gst/play/play.old.c | |
parent | 620e0f274df8bf7a4da64f7ef1421265df816b10 (diff) | |
download | gst-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/play.old.c')
-rw-r--r-- | gst-libs/gst/play/play.old.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gst-libs/gst/play/play.old.c b/gst-libs/gst/play/play.old.c index 0d17aa67..afef677f 100644 --- a/gst-libs/gst/play/play.old.c +++ b/gst-libs/gst/play/play.old.c @@ -656,6 +656,7 @@ gst_play_seek_to_time ( GstPlay *play, guint8 prev_state; gboolean audio_seek_worked = FALSE; gboolean video_seek_worked = FALSE; + gboolean visualisation_seek_worked = FALSE; g_return_if_fail (GST_IS_PLAY (play)); if (time_nanos < 0LL){ @@ -677,11 +678,18 @@ gst_play_seek_to_time ( GstPlay *play, GST_SEEK_FLAG_FLUSH, play->seek_time); if (play->audio_sink_element != NULL){ gst_event_ref (s_event); - audio_seek_worked = gst_element_send_event (play->audio_sink_element, s_event); + audio_seek_worked = gst_element_send_event ( + play->audio_sink_element, s_event); + } + if (play->visualisation_sink_element != NULL){ + gst_event_ref (s_event); + visualisation_seek_worked = gst_element_send_event ( + play->visualisation_sink_element, s_event); } if (play->video_sink_element != NULL){ gst_event_ref (s_event); - video_seek_worked = gst_element_send_event (play->video_sink_element, s_event); + video_seek_worked = gst_element_send_event ( + play->video_sink_element, s_event); } gst_event_unref (s_event); |