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:
Anna Schumaker 2014-06-04 09:33:29 -04:00
parent 06b36afec6
commit c803699215

View File

@ -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;
}