Skip to content

Instantly share code, notes, and snippets.

Created January 21, 2016 11:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/970780faaf11f3b200a8 to your computer and use it in GitHub Desktop.
Save anonymous/970780faaf11f3b200a8 to your computer and use it in GitHub Desktop.
diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp
index 7559042..62b908f 100644
--- a/lib/service/servicemp3.cpp
+++ b/lib/service/servicemp3.cpp
@@ -784,7 +784,7 @@ RESULT eServiceMP3::stop()
GstStateChangeReturn ret;
GstState state, pending;
/* make sure that last state change was successfull */
- ret = gst_element_get_state(m_gst_playbin, &state, &pending, 5 * GST_SECOND);
+ ret = gst_element_get_state(m_gst_playbin, &state, &pending, 0LL);
eDebug("[eServiceMP3] stop state:%s pending:%s ret:%s",
gst_element_state_get_name(state),
gst_element_state_get_name(pending),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment