[totem] backend: Get the seekability when async is done
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] backend: Get the seekability when async is done
- Date: Sun, 15 Jul 2012 18:41:00 +0000 (UTC)
commit 2a9c8590aaf97d56063f7c5288e5c1aceb77c89b
Author: Bastien Nocera <hadess hadess net>
Date: Sun Jul 15 18:07:55 2012 +0100
backend: Get the seekability when async is done
We started playing, let's check whether the stream length
or seekability changed, rather than waiting for the first
tick of our pipeline.
https://bugzilla.gnome.org/show_bug.cgi?id=595584
src/backend/bacon-video-widget.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index a328f45..01db58f 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -2086,6 +2086,8 @@ bvw_bus_message_cb (GstBus * bus, GstMessage * message, BaconVideoWidget *bvw)
bacon_video_widget_seek_time_no_lock (bvw, _time, 0, NULL);
}
bvw_get_navigation_if_available (bvw);
+ bacon_video_widget_get_stream_length (bvw);
+ bacon_video_widget_is_seekable (bvw);
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]