tvheadend/tvheadend — pull request #144 by xhaggi (2012-09-14 15:12:54+00:00)
Title: service: build stream info in sorted order (video, audio, subtitle, other)

This PR sorts the stream information by type in service_build_stream_start to solve audio-stream issue with xbmc pvr. XBMC plays no audio even there are audio-streams. This occured only if more than one stream is present. Sorting the stream info solves this issue.

The sort order is: video, audio, subtitle, other.