tsdemux: fix program-number functionality
authorJesper Larsen <jesper.larsen@ixonos.com>
Wed, 6 Mar 2013 11:15:47 +0000 (12:15 +0100)
committerEdward Hervey <edward@collabora.com>
Mon, 22 Jul 2013 07:53:46 +0000 (09:53 +0200)
commit8e4f966018409592eca28014bdafaffb4ef59d0a
treea5c9a0f52284ad92210ecf89930be4b0d5c9f515
parente56efddd4ad64a1a01e18d681c82e19b56922605
tsdemux: fix program-number functionality

Setting the program-number property does not affect which program
is actually being demuxed.

Moving the initialization of the program_number from
gst_ts_demux_reset to gst_ts_demux_init seems to fix this issue.

https://bugzilla.gnome.org/show_bug.cgi?id=690934
gst/mpegtsdemux/tsdemux.c