[longomatch] Fix seeking with live streams where the duration is not updated
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix seeking with live streams where the duration is not updated
- Date: Sat, 24 Nov 2012 01:17:32 +0000 (UTC)
commit 14ab61021f06ea65b3c3738542dcf77ea5ef40b2
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sat Nov 24 01:18:38 2012 +0100
Fix seeking with live streams where the duration is not updated
libcesarplayer/bacon-video-widget-gst-0.10.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/libcesarplayer/bacon-video-widget-gst-0.10.c b/libcesarplayer/bacon-video-widget-gst-0.10.c
index f4aa6ee..5782325 100644
--- a/libcesarplayer/bacon-video-widget-gst-0.10.c
+++ b/libcesarplayer/bacon-video-widget-gst-0.10.c
@@ -2763,16 +2763,6 @@ bacon_video_widget_segment_seek (BaconVideoWidget * bvw, gint64 start,
GST_LOG ("Segment seeking from %" GST_TIME_FORMAT,
GST_TIME_ARGS (start * GST_MSECOND));
-
- if (start > bvw->priv->stream_length
- && bvw->priv->stream_length > 0
- && !g_str_has_prefix (bvw->priv->mrl, "dvd:")
- && !g_str_has_prefix (bvw->priv->mrl, "vcd:")) {
- if (bvw->priv->eos_id == 0)
- bvw->priv->eos_id = g_idle_add (bvw_signal_eos_delayed, bvw);
- return TRUE;
- }
-
got_time_tick (bvw->priv->play, start * GST_MSECOND, bvw);
gst_element_seek (bvw->priv->play, rate,
GST_FORMAT_TIME,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]