[FFmpeg-devel] [PATCH] libavformat/mpegtsenc: allow to set service_type in sdt
michaelni at gmx.at
Mon Feb 2 22:11:08 CET 2015
On Mon, Feb 02, 2015 at 11:56:52AM +0200, dhead666 wrote:
> This adds an option to set the service type in mpegts as defined in ETSI 300 468.
> I added what I believe are the most useful service types as pre defined values,
> the others can be sent by using their hexdecimal form directly (e.g. -mpegts_service_type digital_radio, -mpegts_service_type 0x07).
> I've been using this patch in order to pipe internet radio stream (originally as HLS/m3u8) from ffmpeg to tvheadend,
> when the service type set right tvheadend recognize the mpegts stream as a radio channel.
> The patch in its original form was written by linuxstb from freenode's hts channel which allowed me pushing it upstream.
> This close issue 4118.
> Hi Michael,
> I added a commit message as requested, thanks.
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 181 bytes
Desc: Digital signature
More information about the ffmpeg-devel