Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

Commit

Permalink
fixed m3u8 playback issue. Fixed #213
Browse files Browse the repository at this point in the history
  • Loading branch information
haecker-felix committed Sep 25, 2017
1 parent b976587 commit f445a10
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/gradio-audio-player.vala
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,9 @@ namespace Gradio{
private bool bus_callback (Gst.Bus bus, Gst.Message m) {
switch (m.type) {
case Gst.MessageType.ELEMENT:
state = Gst.State.NULL;

// TODO: Improve the handling of missing codecs.
if(m.get_structure() != null && Gst.PbUtils.is_missing_plugin_message(m)) {
if(Gst.PbUtils.is_missing_plugin_message(m)) {
state = Gst.State.NULL;
status_message = "A required codec is missing.";
codec.install_missing_codec(m);
}
Expand Down

0 comments on commit f445a10

Please sign in to comment.