Skip to content

Commit

Permalink
[GStreamer][MSE] Avoid crash for leaking GSources
Browse files Browse the repository at this point in the history
  • Loading branch information
calvaris committed Feb 25, 2016
1 parent 9e283f1 commit 40ea41b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1345,6 +1345,7 @@ AppendPipeline::~AppendPipeline()
ASSERT(m_bus);
g_signal_handlers_disconnect_by_func(m_bus.get(), reinterpret_cast<gpointer>(appendPipelineElementMessageCallback), this);
gst_bus_disable_sync_message_emission(m_bus.get());
gst_bus_remove_signal_watch(m_bus.get());

gst_element_set_state (m_pipeline, GST_STATE_NULL);
gst_object_unref(m_pipeline);
Expand Down

0 comments on commit 40ea41b

Please sign in to comment.