[gthumb] gstreamer: fixed possible block when opening a media file



commit 64caca0d774f637fd3b1f200cfdb69a9fa2dbaa1
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Oct 22 16:18:36 2017 +0200

    gstreamer: fixed possible block when opening a media file
    
    do not wait for the state to change, it could never happen

 extensions/gstreamer_tools/gth-media-viewer-page.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/gstreamer_tools/gth-media-viewer-page.c 
b/extensions/gstreamer_tools/gth-media-viewer-page.c
index 8c3674a..eb4f9cd 100644
--- a/extensions/gstreamer_tools/gth-media-viewer-page.c
+++ b/extensions/gstreamer_tools/gth-media-viewer-page.c
@@ -1057,7 +1057,7 @@ _gth_media_viewer_page_set_uri (GthMediaViewerPage *self,
 
        g_object_set (G_OBJECT (self->priv->playbin), "uri", uri, NULL);
        gst_element_set_state (self->priv->playbin, state);
-       gst_element_get_state (self->priv->playbin, NULL, NULL, GST_CLOCK_TIME_NONE);
+       /*gst_element_get_state (self->priv->playbin, NULL, NULL, GST_CLOCK_TIME_NONE);*/
 }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]