vlc.git
4 years agoinclude: split the color range from the color space with a boolean
Steve Lhomme [Sun, 17 Apr 2016 08:05:50 +0000 (11:05 +0300)]
include: split the color range from the color space with a boolean

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
4 years agoplaylist/ram: fix item creation not checked
Thomas Guillem [Sun, 17 Apr 2016 05:29:49 +0000 (08:29 +0300)]
playlist/ram: fix item creation not checked

4 years agoplaylist/m3u: fix item creation not checked
Thomas Guillem [Sun, 17 Apr 2016 05:28:31 +0000 (08:28 +0300)]
playlist/m3u: fix item creation not checked

4 years agoplaylist/asx: fix item creation not checked
Thomas Guillem [Sun, 17 Apr 2016 05:26:33 +0000 (08:26 +0300)]
playlist/asx: fix item creation not checked

4 years agotest/media: test subitems parsing failure
Thomas Guillem [Thu, 14 Apr 2016 10:48:04 +0000 (12:48 +0200)]
test/media: test subitems parsing failure

4 years agotest/media: test that remote locations are skipped
Thomas Guillem [Thu, 14 Apr 2016 15:27:10 +0000 (17:27 +0200)]
test/media: test that remote locations are skipped

4 years agotest/media: fix arguments order
Thomas Guillem [Thu, 14 Apr 2016 10:41:17 +0000 (12:41 +0200)]
test/media: fix arguments order

In order to match libvlc ones.

4 years agotest/media: remove libjpeg dependency
Thomas Guillem [Thu, 14 Apr 2016 15:18:40 +0000 (17:18 +0200)]
test/media: remove libjpeg dependency

4 years agotest/media: use libvlc_media_parse_with_options
Thomas Guillem [Thu, 14 Apr 2016 10:37:10 +0000 (12:37 +0200)]
test/media: use libvlc_media_parse_with_options

4 years agolibvlc: remove invalid comment
Thomas Guillem [Thu, 14 Apr 2016 10:12:14 +0000 (12:12 +0200)]
libvlc: remove invalid comment

This comment was in contradication with the "If the media has not yet been parsed
this will return NULL." comment.

4 years agolibvlc: deprecate libvlc_media_parse_async
Thomas Guillem [Thu, 14 Apr 2016 12:27:15 +0000 (14:27 +0200)]
libvlc: deprecate libvlc_media_parse_async

4 years agolibvlc: deprecate libvlc_media_is_parsed
Thomas Guillem [Sun, 17 Apr 2016 05:14:31 +0000 (08:14 +0300)]
libvlc: deprecate libvlc_media_is_parsed

4 years agolibvlc: add libvlc_media_get_parsed_status
Thomas Guillem [Thu, 14 Apr 2016 15:04:39 +0000 (17:04 +0200)]
libvlc: add libvlc_media_get_parsed_status

4 years agolibvlc: add libvlc_MediaParsedStatus event
Thomas Guillem [Thu, 14 Apr 2016 15:04:04 +0000 (17:04 +0200)]
libvlc: add libvlc_MediaParsedStatus event

This event is always sent after libvlc_media_parse_with_options is successfuly
called.

4 years agopreparser: send a status code on PreparseEnded
Thomas Guillem [Thu, 14 Apr 2016 15:00:03 +0000 (17:00 +0200)]
preparser: send a status code on PreparseEnded

4 years agopreparser: send PreparseEnded when input can't be created
Thomas Guillem [Thu, 14 Apr 2016 13:18:41 +0000 (15:18 +0200)]
preparser: send PreparseEnded when input can't be created

It's a not common case, input_CreatePreparser fails only in case of memory
allocation error.

4 years agopreparser: don't send vlc_InputItemPreparsedChanged in case of failure
Thomas Guillem [Thu, 14 Apr 2016 13:20:59 +0000 (15:20 +0200)]
preparser: don't send vlc_InputItemPreparsedChanged in case of failure

The vlc_InputItemPreparseEnded event should be enough.

There is a compat code inside libvlc in order to don't break old API that are
waiting for a libvlc_MediaParsedChanged, even in case of error.

4 years agolibvlc: factor input_item_preparsed_changed
Thomas Guillem [Thu, 14 Apr 2016 13:20:24 +0000 (15:20 +0200)]
libvlc: factor input_item_preparsed_changed

And don't re-send event, even if this can't happen with current vlc core.

4 years agovlc_meta: remove unused ITEM_ARTURL_FETCHED
Thomas Guillem [Thu, 14 Apr 2016 12:15:09 +0000 (14:15 +0200)]
vlc_meta: remove unused ITEM_ARTURL_FETCHED

4 years agoinput/item: factor input_item_t New*() functions
Thomas Guillem [Thu, 14 Apr 2016 09:16:24 +0000 (11:16 +0200)]
input/item: factor input_item_t New*() functions

Remove "int options, const char *const *options, unsigned option_flags"
arguments from every New() functions since these args are mainly unused. You
now have to call input_item_AddOptions after input item creation to add
options.

Add input_item_net_type enum in order to avoid confusion between 2 int
arguments: i_duration and i_net that could both be -1, 0 or > 0.

Replace input_item_NewWithType and input_item_NewWithTypeExt with
input_item_NewExt.

Add input_item_NewCard, input_item_NewDisc, input_item_NewStream,
input_item_NewDirectory, input_item_NewFile MACRO. These MACROS avoid to use
useless arguments for an item type (for example, it's useless to specify a
duration for a directory type).

4 years agoinput/item: add input_item_AddOptions
Thomas Guillem [Thu, 14 Apr 2016 09:16:23 +0000 (11:16 +0200)]
input/item: add input_item_AddOptions

4 years agocaopengllayer: add missing debug
Felix Paul Kühne [Sat, 16 Apr 2016 15:44:02 +0000 (18:44 +0300)]
caopengllayer: add missing debug

4 years agovout-macosx: add missing debug
Felix Paul Kühne [Sat, 16 Apr 2016 15:41:41 +0000 (18:41 +0300)]
vout-macosx: add missing debug

4 years agovout-macosx: use color primaries provided by decoder or demuxer
Felix Paul Kühne [Sat, 16 Apr 2016 15:23:02 +0000 (18:23 +0300)]
vout-macosx: use color primaries provided by decoder or demuxer

4 years agocaopengllayer: use color primaries provided by decoder or demuxer
Felix Paul Kühne [Sat, 16 Apr 2016 15:19:09 +0000 (18:19 +0300)]
caopengllayer: use color primaries provided by decoder or demuxer

4 years agovout-macosx: fix compilation
Felix Paul Kühne [Sat, 16 Apr 2016 15:13:53 +0000 (18:13 +0300)]
vout-macosx: fix compilation

4 years agoDirect3D9: support D3D9Ex APIs
Jean-Baptiste Kempf [Sat, 16 Apr 2016 13:58:43 +0000 (15:58 +0200)]
Direct3D9: support D3D9Ex APIs

That should work from Windows Vista

4 years agovdpau/chroma: select CSC matrix from input video format
Rémi Denis-Courmont [Sat, 16 Apr 2016 14:16:11 +0000 (17:16 +0300)]
vdpau/chroma: select CSC matrix from input video format

4 years agoes_out: add colorimetry to video tracks meta
Rémi Denis-Courmont [Sat, 16 Apr 2016 13:32:49 +0000 (16:32 +0300)]
es_out: add colorimetry to video tracks meta

4 years agoes_out: add orientation to video tracks meta
Rémi Denis-Courmont [Sat, 16 Apr 2016 13:12:47 +0000 (16:12 +0300)]
es_out: add orientation to video tracks meta

4 years agoinclude: add enums for colorimetry
Rémi Denis-Courmont [Sat, 16 Apr 2016 11:41:38 +0000 (14:41 +0300)]
include: add enums for colorimetry

4 years agovout-macosx: remove compilation support for 10.5 and 10.6
Felix Paul Kühne [Sat, 16 Apr 2016 12:19:59 +0000 (15:19 +0300)]
vout-macosx: remove compilation support for 10.5 and 10.6

4 years agovout-macosx: request HDR mode
Felix Paul Kühne [Sat, 16 Apr 2016 12:03:34 +0000 (15:03 +0300)]
vout-macosx: request HDR mode

4 years agovout-macosx: prepare color space handling
Felix Paul Kühne [Sat, 16 Apr 2016 12:03:07 +0000 (15:03 +0300)]
vout-macosx: prepare color space handling

4 years agocaopengllayer: request HDR mode
Felix Paul Kühne [Sat, 16 Apr 2016 11:35:04 +0000 (14:35 +0300)]
caopengllayer: request HDR mode

4 years agocaopengllayer: prepare color space handling
Felix Paul Kühne [Sat, 16 Apr 2016 11:30:38 +0000 (14:30 +0300)]
caopengllayer: prepare color space handling

4 years agomacosx: add caopengllayer to xcodeproj
Felix Paul Kühne [Sat, 16 Apr 2016 11:29:40 +0000 (14:29 +0300)]
macosx: add caopengllayer to xcodeproj

4 years agoinclude/vlc_messages.h : Fix spelling mistake
Wayne McDougall [Thu, 14 Apr 2016 09:42:31 +0000 (21:42 +1200)]
include/vlc_messages.h : Fix spelling mistake

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoes: cleaner handling of the video palette
Steve Lhomme [Sat, 16 Apr 2016 08:57:43 +0000 (11:57 +0300)]
es: cleaner handling of the video palette

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoMove YUVP filter to Video Chroma
Jean-Baptiste Kempf [Sat, 16 Apr 2016 09:04:44 +0000 (11:04 +0200)]
Move YUVP filter to Video Chroma

4 years agoidummy: remove trailing spaces
Jean-Baptiste Kempf [Sat, 16 Apr 2016 08:45:31 +0000 (10:45 +0200)]
idummy: remove trailing spaces

4 years agoMP4: support for RTP Reception Hint Track playback for presynchronized streams.
Joni Räsänen [Tue, 5 Apr 2016 13:18:43 +0000 (06:18 -0700)]
MP4: support for RTP Reception Hint Track playback for presynchronized streams.

H.264 video, GSM and Speex audio are supported.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoMP4: RTP Reception Hint Track related box recognition
Joni Räsänen [Tue, 5 Apr 2016 13:18:42 +0000 (06:18 -0700)]
MP4: RTP Reception Hint Track related box recognition

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomux: avi: add μ-law
Tristan Matthews [Fri, 15 Apr 2016 15:14:11 +0000 (11:14 -0400)]
mux: avi: add μ-law

4 years agomux: avi: add A-law (fix #16808)
Tristan Matthews [Fri, 15 Apr 2016 15:09:32 +0000 (11:09 -0400)]
mux: avi: add A-law (fix #16808)

4 years agodemux: hls: skip ID3 footer
Francois Cartegnie [Fri, 15 Apr 2016 12:00:05 +0000 (14:00 +0200)]
demux: hls: skip ID3 footer

likely not to happen, but who knows with hls

4 years agodemux: hls: better check for ID3 header
Francois Cartegnie [Fri, 15 Apr 2016 11:59:12 +0000 (13:59 +0200)]
demux: hls: better check for ID3 header

4 years agodemux: hls: improve ID3 parsing
Francois Cartegnie [Fri, 15 Apr 2016 11:46:29 +0000 (13:46 +0200)]
demux: hls: improve ID3 parsing

4 years agodemux: hls: fix reading ID3 header size
Francois Cartegnie [Fri, 15 Apr 2016 11:19:35 +0000 (13:19 +0200)]
demux: hls: fix reading ID3 header size

4 years agodemux: adaptive: flag eof on failed buffered chunks
Francois Cartegnie [Fri, 15 Apr 2016 08:55:07 +0000 (10:55 +0200)]
demux: adaptive: flag eof on failed buffered chunks

Otherwise keeps trying over all other segments

4 years agoaccess: dvb: scan: add missing check on private data descriptor
Francois Cartegnie [Fri, 15 Apr 2016 08:54:36 +0000 (10:54 +0200)]
access: dvb: scan: add missing check on private data descriptor

4 years agobonjour: change server item type to directory
Thomas Guillem [Wed, 13 Apr 2016 17:39:28 +0000 (19:39 +0200)]
bonjour: change server item type to directory

An item becomes a node once it's opened by the playlist.

4 years agomicrodns: change server item type to directory
Thomas Guillem [Wed, 13 Apr 2016 17:39:20 +0000 (19:39 +0200)]
microdns: change server item type to directory

An item becomes a node once it's opened by the playlist.

4 years agoupnp: change server item type to directory
Thomas Guillem [Wed, 13 Apr 2016 17:39:13 +0000 (19:39 +0200)]
upnp: change server item type to directory

An item becomes a node once it's opened by the playlist.

4 years agodsm: change server item type to directory
Thomas Guillem [Wed, 13 Apr 2016 17:39:01 +0000 (19:39 +0200)]
dsm: change server item type to directory

An item becomes a node once it's opened by the playlist.

4 years agoinput: item: do NOT preparse unknown access (fix #16823)
Francois Cartegnie [Wed, 13 Apr 2016 19:46:48 +0000 (21:46 +0200)]
input: item: do NOT preparse unknown access (fix #16823)

4 years agotest: media: disable stream:// tests
Francois Cartegnie [Thu, 14 Apr 2016 08:27:53 +0000 (10:27 +0200)]
test: media: disable stream:// tests

Should fail by default and is validated on success.
The whole test is incorrect, reporting false positives
and no possible true negatives.

4 years agoinput/item: fix b_net not initialized correctly
Thomas Guillem [Wed, 13 Apr 2016 17:00:16 +0000 (19:00 +0200)]
input/item: fix b_net not initialized correctly

Do not override b_net guessed by GuessType. Init b_net to false when there is
no psz_uri.

4 years agoinput/item: correctly invert CopyOptions argument order
Thomas Guillem [Mon, 11 Apr 2016 13:44:00 +0000 (15:44 +0200)]
input/item: correctly invert CopyOptions argument order

Do not add a const qualifier for the p_parent since mutexes operations are not
const. Forgot to invert one call in input_item_Copy.

4 years agog711: fix leak
Rémi Denis-Courmont [Wed, 13 Apr 2016 20:34:21 +0000 (23:34 +0300)]
g711: fix leak

Pointed-out-by: Hannes Domani <ssbssa@yahoo.de>
4 years agoinput: avoid memcpy(NULL, NULL, 0)
Rémi Denis-Courmont [Wed, 13 Apr 2016 20:31:58 +0000 (23:31 +0300)]
input: avoid memcpy(NULL, NULL, 0)

4 years agoinput: remove recursive locking in input_item_Copy()
Rémi Denis-Courmont [Wed, 13 Apr 2016 20:29:39 +0000 (23:29 +0300)]
input: remove recursive locking in input_item_Copy()

4 years agoinput: remove recursive locking in input_item_CopyOptions()
Rémi Denis-Courmont [Wed, 13 Apr 2016 20:23:43 +0000 (23:23 +0300)]
input: remove recursive locking in input_item_CopyOptions()

Locking two muteces of the same type can lead to lock inversion.

4 years agoplaylist: remove meta-file hack from input item code
Rémi Denis-Courmont [Wed, 13 Apr 2016 20:16:13 +0000 (23:16 +0300)]
playlist: remove meta-file hack from input item code

This still lives in input and playlist loader. It should be removed.

4 years agoRevert "input: item: do NOT preparse unknown access (fix #16823)"
Rémi Denis-Courmont [Wed, 13 Apr 2016 19:25:58 +0000 (22:25 +0300)]
Revert "input: item: do NOT preparse unknown access (fix #16823)"

This reverts commit 8c43e3644c6d6ae9128dc543f50b9c20b6f85fdf, which
breaks the test suite.

4 years agortp out: prevent zero-sized array
Rémi Denis-Courmont [Wed, 13 Apr 2016 19:16:10 +0000 (22:16 +0300)]
rtp out: prevent zero-sized array

4 years agoRevert "input/item: invert CopyOptions argument order"
Rémi Denis-Courmont [Wed, 13 Apr 2016 19:15:23 +0000 (22:15 +0300)]
Revert "input/item: invert CopyOptions argument order"

This reverts commit 1d8338cdb4bed59687497bc30044eb1622a009c2, which is
obviously wrong.

4 years agoinput: item: add missing file:// in guesstype
Francois Cartegnie [Wed, 13 Apr 2016 19:05:39 +0000 (21:05 +0200)]
input: item: add missing file:// in guesstype

4 years agog711: remove legacy samples limit
Rémi Denis-Courmont [Wed, 13 Apr 2016 19:02:53 +0000 (22:02 +0300)]
g711: remove legacy samples limit

There is no point in limitting the number of samples decoded at once.
The decoder would just iterate and decode the remaining samples
immediately.

4 years agoRevert "g711: keep current block, since there could be samples left"
Rémi Denis-Courmont [Wed, 13 Apr 2016 18:57:44 +0000 (21:57 +0300)]
Revert "g711: keep current block, since there could be samples left"

This reverts commit 6328b40cbc773c6fd4886e65a0f7a3c221cee8df.

4 years agoaccess: dvb: scan: set probing timeout per delivery
Francois Cartegnie [Wed, 13 Apr 2016 12:18:48 +0000 (14:18 +0200)]
access: dvb: scan: set probing timeout per delivery

does not wait for lock and starts probing timeout
when packets are received.

4 years agoinput: item: do NOT preparse unknown access (fix #16823)
Francois Cartegnie [Wed, 13 Apr 2016 18:30:50 +0000 (20:30 +0200)]
input: item: do NOT preparse unknown access (fix #16823)

Otherwise race condition with devices and exclusive access stuff.

4 years agoinput: add isdb to known input types
Francois Cartegnie [Wed, 13 Apr 2016 18:23:44 +0000 (20:23 +0200)]
input: add isdb to known input types

4 years agog711: keep current block, since there could be samples left
Hannes Domani [Wed, 13 Apr 2016 17:56:23 +0000 (19:56 +0200)]
g711: keep current block, since there could be samples left

fixes #16815

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agoswscale: remove pointless code
Rémi Denis-Courmont [Tue, 12 Apr 2016 21:35:57 +0000 (00:35 +0300)]
swscale: remove pointless code

The format of an input picture must always be equal to the input format
the conversion filter (by definition and by design). This code had no
effects.

4 years agoavcodec: fix invalid write and memory leak
Rémi Denis-Courmont [Tue, 12 Apr 2016 21:33:02 +0000 (00:33 +0300)]
avcodec: fix invalid write and memory leak

picture.format is set by the allocator of the picture. It cannot be
changed. Indeed, this caused a massive leak (one palette per picture).

4 years agodtv: add timeout parameter to dvb_read()
Rémi Denis-Courmont [Tue, 12 Apr 2016 15:38:00 +0000 (18:38 +0300)]
dtv: add timeout parameter to dvb_read()

4 years agohttp: fix segmentation fault on error
Rémi Denis-Courmont [Fri, 8 Apr 2016 09:35:50 +0000 (12:35 +0300)]
http: fix segmentation fault on error

4 years agoconfigure.ac: Use AC_PATH_PROGS for luac
Hugo Beauzée-Luyssen [Tue, 12 Apr 2016 16:36:40 +0000 (18:36 +0200)]
configure.ac: Use AC_PATH_PROGS for luac

4 years agoQt: Apply nothing if no change was made in toolbar custom
Benoit du Payrat [Mon, 11 Apr 2016 16:35:19 +0000 (18:35 +0200)]
Qt: Apply nothing if no change was made in toolbar custom

Fix #15011

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
4 years agokeystore/file: fix error path
Thomas Guillem [Tue, 12 Apr 2016 15:33:07 +0000 (17:33 +0200)]
keystore/file: fix error path

4 years agokeystore/file: use POSIX file locking when flock() is unavailable
Sean McGovern [Tue, 12 Apr 2016 15:14:37 +0000 (11:14 -0400)]
keystore/file: use POSIX file locking when flock() is unavailable

Additionally, remove the unlock call as fclose() will drop
the lock for us.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
4 years agobluray: fix chapter mark time offsets
Petri Hintukainen [Tue, 12 Apr 2016 13:31:10 +0000 (16:31 +0300)]
bluray: fix chapter mark time offsets

4 years agocontrib/libdsm: update hash for updated 0.2.2 tarball
Felix Paul Kühne [Tue, 12 Apr 2016 12:25:08 +0000 (14:25 +0200)]
contrib/libdsm: update hash for updated 0.2.2 tarball

4 years agodsm: fix smb_session_is_guest check
Thomas Guillem [Tue, 12 Apr 2016 12:22:46 +0000 (14:22 +0200)]
dsm: fix smb_session_is_guest check

4 years agocontrib/libdsm: update to version 0.2.2
Felix Paul Kühne [Tue, 12 Apr 2016 11:39:33 +0000 (13:39 +0200)]
contrib/libdsm: update to version 0.2.2

4 years agodemux: mp4: add support for forced tx3g spu (fix #16803)
Francois Cartegnie [Tue, 12 Apr 2016 10:48:51 +0000 (12:48 +0200)]
demux: mp4: add support for forced tx3g spu (fix #16803)

4 years agolibvlc: media: deprecate libvlc_Buffering state
Thomas Guillem [Tue, 12 Apr 2016 07:27:12 +0000 (09:27 +0200)]
libvlc: media: deprecate libvlc_Buffering state

This state was never set or used. If it was set, it would have overridden the
media state since a media can be buffering while opening or during playback
(while seeking).

PS: Listen to the libvlc_MediaPlayerBuffering event if you want to know if a
media player is buffering.

4 years agodemux: mp4: set priority of forced subtitles
Francois Cartegnie [Mon, 11 Apr 2016 18:49:30 +0000 (20:49 +0200)]
demux: mp4: set priority of forced subtitles

refs #16803

4 years agodemux: ts: fix broken mpeg-sl regression (fix #16809)
Francois Cartegnie [Mon, 11 Apr 2016 16:45:52 +0000 (18:45 +0200)]
demux: ts: fix broken mpeg-sl regression (fix #16809)

Worked unintentionally in 2.2.x

4 years agoinput/item: invert CopyOptions argument order
Thomas Guillem [Mon, 11 Apr 2016 13:44:00 +0000 (15:44 +0200)]
input/item: invert CopyOptions argument order

Add a const qualifier for the source and make the code less angrrrrrrrry.

4 years agocontrib: lua: Do not use system nor popen on winrt
Hugo Beauzée-Luyssen [Mon, 11 Apr 2016 11:52:24 +0000 (13:52 +0200)]
contrib: lua: Do not use system nor popen on winrt

Again, forbidden functions. One could argue that we don't want
os.execute on any platform though.

4 years agoaccess: dvb: scan: fix unused scanning parameter b_use_nit
Francois Cartegnie [Sun, 10 Apr 2016 12:15:06 +0000 (14:15 +0200)]
access: dvb: scan: fix unused scanning parameter b_use_nit

4 years agoaccess: dvb: create scan_session from scan config
Francois Cartegnie [Sun, 10 Apr 2016 12:14:47 +0000 (14:14 +0200)]
access: dvb: create scan_session from scan config

4 years agoRevert "access: dvb: use DTV_ENUM_DELSYS when possible"
Francois Cartegnie [Mon, 11 Apr 2016 08:45:47 +0000 (10:45 +0200)]
Revert "access: dvb: use DTV_ENUM_DELSYS when possible"

This reverts commit 41e4d492fc453995b86c031f92a526621464ae68.

4 years agowin32: fs: Don't use getcwd on winrt
Hugo Beauzée-Luyssen [Fri, 8 Apr 2016 11:04:55 +0000 (13:04 +0200)]
win32: fs: Don't use getcwd on winrt

getcwd functions are not allowed by WinRT

4 years agocontrib: ffmpeg/libav: Disable gnutls
Hugo Beauzée-Luyssen [Mon, 4 Apr 2016 15:05:46 +0000 (17:05 +0200)]
contrib: ffmpeg/libav: Disable gnutls

4 years agoaccess: dvb: scan: add NIT satellite delivery
Francois Cartegnie [Sat, 9 Apr 2016 19:53:45 +0000 (21:53 +0200)]
access: dvb: scan: add NIT satellite delivery

4 years agoaccess: dvb: scan: fix service descriptor DVB-T modulation
Francois Cartegnie [Sat, 9 Apr 2016 19:31:32 +0000 (21:31 +0200)]
access: dvb: scan: fix service descriptor DVB-T modulation

4 years agoaccess: dvb: scan: fix NIT/SDT processing
Francois Cartegnie [Thu, 7 Apr 2016 14:13:39 +0000 (16:13 +0200)]
access: dvb: scan: fix NIT/SDT processing

We can't focuse on both own network and other network
without using our transponder configuration, otherwise
we also end up with zero freq zero everything service for
our network if the nit appears before sdt, and for other
networks if the descriptors order isn't the expected one.

Services are stream_id/network/program