[longomatch] Don't block if get_state getting the current frame
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Don't block if get_state getting the current frame
- Date: Wed, 7 Aug 2013 13:24:53 +0000 (UTC)
commit 445f5be2c470d3d52938ce7e1cc95a909d2ac30c
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Aug 7 15:22:14 2013 +0200
Don't block if get_state getting the current frame
libcesarplayer/bacon-video-widget-gst-0.10.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libcesarplayer/bacon-video-widget-gst-0.10.c b/libcesarplayer/bacon-video-widget-gst-0.10.c
index eee921e..4b79fe6 100644
--- a/libcesarplayer/bacon-video-widget-gst-0.10.c
+++ b/libcesarplayer/bacon-video-widget-gst-0.10.c
@@ -4376,7 +4376,7 @@ bacon_video_widget_get_current_frame (BaconVideoWidget * bvw)
/*{ */
/*gst_element_get_state (bvw->priv->play, NULL, NULL, -1); */
/*} */
- gst_element_get_state (bvw->priv->play, NULL, NULL, -1);
+ gst_element_get_state (bvw->priv->play, NULL, NULL, 1 * GST_SECOND);
/* no video info */
if (!bvw->priv->video_width || !bvw->priv->video_height) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]