Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert dynamic instances iptv_input and iptv_network #336

Closed
wants to merge 120 commits into from

Conversation

andyb2000
Copy link
Contributor

Removed the &iptv_network, &iptv_input instances

Adam Sutton and others added 30 commits December 22, 2013 20:55
This could still be spammy if the signal isn't clean and keeps going
in and out. But that's just tough luck I guess!
This works fine for most native compilations, so saves spec'ing anything else.
I don't actually check for valid MC group address, I simply try and add group
and just warn if it fails (but carry on anyway).
I was not properly checking completion on table completion and CAT processing
was not marking that table as complete (ever).
This is useful for validating new code against older versions (and newer).
This occurs where compressing small, already compressd files, typically images.

I could avoid compression of very small (or already compressed) files. But its
simple to keep things uniform and fixing this makes sense anyway!
linuxdvb: fix typo in diseqc toneburst switch setting.  Fixes #1856
This affects IPTV where there is only 1 input, if 2 services have the same PIDs
then both services were receiving each others packets and causing a mess!

I think later on I should really remove the transport list from the input and
have it on the mux? I think I did it this way to keep some things simpler, but
it's caused confusion here.

This should fix #1875.
At the moment the configuration is global so starting another mapping will
override existing config.
src/descrambler/cwc.c:493:11: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
  if (len < 0) return -1;
      ~~~ ^ ~
- works with same hardcoded values (needs to setup)
- setup via gui is missing
perexg and others added 26 commits February 17, 2014 12:03
It's necessary to do serious checks for the memory leaks using
tools like valgrind. This patch tries to implement a graceful
exit for all tvheadend components and free allocated memory.

Also, some memory leaks were fixed.
Rather than check for specific glibc version on PLATFORM_LINUX, check
the existance of qsort_r.

This fixes the following compile error with musl libc:

CC              src/main.o
In file included from src/main.c:39:0:
src/tvheadend.h:608:20: error: missing binary operator before token "("
 #if !__GLIBC_PREREQ(2,8)
                    ^
Use the gcc specific __GNUC__ and __GNUC__ minor to determine gcc version
rather than using the GNU libc specific __GNUC_PREREQ.

This fixes the following compile error with musl libc:
src/descrambler/capmt.c:79:18: error: missing binary operator before token "("
 #if __GNUC_PREREQ(4, 3)
                  ^
There are no standard that says that __WORDSIZE should be defined or
in what include file. So in case its not defined we fallback to a
POSIX compliant way to determine wordsize.

This fixes build with 64 bit musl libc.

See https://tvheadend.org/issues/1983
Fixes the following error with musl libc:

src/trap.c: In function 'traphandler':
src/trap.c:178:3: error: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Werror=format=]
   snprintf(tmpbuf, sizeof(tmpbuf), "Register dump [%d]: ", NGREG);
      ^
Mostly avahi related and cosmetic fixes for the graceful exit patch.
@andyb2000 andyb2000 mentioned this pull request Mar 6, 2014
@andyb2000
Copy link
Contributor Author

Kill this due to the merge/rebase it's a mess!

@andyb2000 andyb2000 closed this Mar 7, 2014
@andyb2000 andyb2000 deleted the fixinstances branch March 7, 2014 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet