GSTDriver: Call on_eos() at End Of Stream
We kind of need to do this this to pick the next song ... Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
parent
06b36afec6
commit
c803699215
|
@ -138,6 +138,10 @@ void GSTDriver :: on_message(GstMessage *message)
|
|||
case GST_MESSAGE_ERROR:
|
||||
parse_gst_error(message, cur_file);
|
||||
on_error();
|
||||
break;
|
||||
case GST_MESSAGE_EOS:
|
||||
on_eos();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user