Commit graph

2530 commits

Author SHA1 Message Date
Adam Sutton
ff253351fd iptv: minor addition to debug output 2013-07-01 12:50:58 +01:00
Benny Morgan
e47ddddb7c - Move dvb_charset_list from dvb_charset.h to dvb_charset.c, and make it static 2013-06-30 22:16:02 +02:00
Benny Morgan
3b38a9e012 - Fix - allocate space for the '\0' character for tvheadend_webroot 2013-06-30 22:13:20 +02:00
Benny Morgan
4f3cf8e695 - Fix - In case that num parameter was NULL, epg_episode_num_deserialize funcion would return newly calloc'd
epg_episode_num_t, but it's never used like this, so better remove the calloc, and make it void return.
2013-06-30 21:55:24 +02:00
Benny Morgan
e894b01306 - Fix - exchange a fixed malloc(50) to char addrstr[50] - no need for malloc here 2013-06-30 21:52:21 +02:00
Benny Morgan
6fc536e014 - Fix - exchange char* portBuf = malloc(6) to char* port_buf[6] - no need for malloc here 2013-06-30 21:50:58 +02:00
Benny Morgan
61491f394a - Fix - buf is assigned to to cm->cm_data with is defined 'uint8_t cm_data[CWS_NETMSGSIZE];' part of the cwc_message_t, never malloc'd and should be free'd 2013-06-30 21:49:08 +02:00
Benny Morgan
97af8f63e3 - Fix - instead of make a fixed malloc(50), just do a char addrstr[50] 2013-06-30 21:41:16 +02:00
Benny Morgan
55a0e92a67 - Fix memory leak - st->es_section allocated in tsdemux.c - line 108, was not free'd 2013-06-30 21:39:34 +02:00
Benny Morgan
19b39e4159 - Fix memory leak - After cwc_running is set to 0 in capmt_destroy, capmt and capmt->id was not free'd 2013-06-30 21:35:43 +02:00
Benny Morgan
edd4816065 - Fix memory leak - In case that img is already in cache, img->url was not free'd 2013-06-30 21:31:49 +02:00
Benny Morgan
21a622986f - Fix memory leaks - Some fields in tda was not free'd. tda_rootpath, tda_fe_path, tda_demux_path and tda_dvr_path 2013-06-30 21:19:15 +02:00
Benny Morgan
94be891496 - Fix memory leak - cfg is was free'd allocated in dvr_config_create - line 1218 2013-06-30 21:11:22 +02:00
Benny Morgan
8fd70d013f - Fix memory leak - in case htmsg_binary_des0 return's something < 0, n and f was not free'd 2013-06-30 21:09:09 +02:00
Benny Morgan
901473d7e7 - Fix memory leak - dtf in tda->tda_table_feed queue, malloc'd in dvb_adapter.c - line 1115 was not free'd 2013-06-30 20:18:13 +02:00
Benny Morgan
84e851df05 - Fix memory leak - free tda->tda_fe_info in dvb_adapter_destroy 2013-06-30 20:15:13 +02:00
Benny Morgan
6dbd6a3cf8 - Fix memory leak - cwc->cwc_id and cwc->cwc_viaccess_emm.shared_emm may are not free'd on cleanup 2013-06-30 20:10:56 +02:00
Benny Morgan
7eab6185e9 - Fix memory leak - free cwc->cwc_cryptoworks_emm.shared_emm before set to NULL, if not NULL it must be malloc'd on line 1839 (case 0x84) 2013-06-30 20:07:38 +02:00
Benny Morgan
b1fa9aa040 - Fix possible memory leak - hc->hc_reply queue may hold malloc'd memory after return of http_server_requests 2013-06-30 19:27:48 +02:00
Adam Sutton
0195500636 linuxdvb: I actually have something resembling diseqc config.
I still need to actually be able to properly set it from the UI and this
is one area where the very generic UI really does feel clumsy.
2013-06-25 20:34:01 +01:00
Adam Sutton
0f286913de linuxdvb: minor corrections to the diseqc code. 2013-06-25 16:11:38 +01:00
Adam Sutton
e4a510deb6 linxudvb: remove deprecated code
Some bits are still incomplete, but I can refer to copies from now on.
2013-06-24 10:10:32 +01:00
Adam Sutton
9c40f25c6f linuxdvb: transition to diseqc send command in new code. 2013-06-24 10:09:06 +01:00
pete
c58e7cbf09 Description tag fix 2013-06-24 01:58:19 +03:00
Adam Sutton
b200f5b393 idnode prop: added floating point (double) property 2013-06-23 14:56:55 +01:00
Adam Sutton
53a711e1b1 linuxdvb: fix some mistakes in switch properties 2013-06-23 14:27:26 +01:00
Adam Sutton
2825bdf9a4 linuxdvb: added rotor GOTOX/USALS implementation
This is taken from PR #238. I still don't have the movement duration stuff
done. And now I really need to think more about the config.
2013-06-23 14:27:26 +01:00
Adam Sutton
2327b87304 misc: fix and simplify string procesing bug
previously this could create wildly inaccurate results for numbers with
a larger number of fractional digits. Combined with inaccuracy of representing
some numbers this could result in a roundtrip str -> double -> str ending
up with complete garbage.
2013-06-23 14:27:14 +01:00
Adam Sutton
c2bc0a6a75 linuxdvb: added rotor object, though no implementation yet 2013-06-23 13:33:33 +01:00
Adam Sutton
107451ea07 linuxdvb: added missing LNBs and started on switch config 2013-06-22 21:36:10 +01:00
Adam Sutton
be03b43159 linuxdvb: started adding LNB config (only Universal so far)
I actually had all the existing LNBs done but lost the file, doh!

Clearly the current use of the diseqc_setup() function will not work, I
need to read the diseqc spec and decide whether I need to slightly alter
my API setup.
2013-06-21 17:31:47 +01:00
Adam Sutton
02c14a12a9 linuxdvb: I now have basic diseqc framework (untested) in place.
This includes delayed progamming of diseqc commands and a dynamic grace
period that includes the total diseqc delay.

I think that I still need to understand whether doing independent progamming
of each component in the way I have will work. I'm honestly not sure!
2013-06-21 17:06:44 +01:00
Adam Sutton
120c69e672 mpegts: fix SI section processing bugs 2013-06-19 22:12:35 +01:00
Adam Sutton
5db456a020 mpegts: some logging cleanups 2013-06-19 22:12:26 +01:00
Adam Sutton
dd0e7b1ea4 linuxdvb: fix diseqc LNB setting for polarity
I had forgotten to setup the voltage field used for polarity switching
which meant I was always getting V. This is why my scanning was going
cock eyed.

Think I probably need to add back in some sanity checks.
2013-06-18 00:25:30 +01:00
Adam Sutton
b139c76180 mpegts: failed to stop processing SDT on bad start
This includes detection of already processed sections
2013-06-17 23:48:59 +01:00
Dave Chapman
6cb8eaae8d Only compare the serieslink field when comparing an event with a serieslink auto recording. Previously tvh was also comparing other fields, including title, which broke some serieslink recordings (e.g. if the episodes had unique titles). Fix by adamsutton. 2013-06-17 22:06:05 +01:00
Adam Sutton
83be551710 iptv: update to new MPEGTS API so it will compile
It probably won't actually work just yet, some stuff probably needs
further updates.
2013-06-17 17:30:35 +01:00
Adam Sutton
1a9c3a766b tsfile: update to make it compile with new MPEGTS API 2013-06-17 17:22:00 +01:00
Adam Sutton
88578c22a6 csa: fix some silly mistakes in TS processing
I have now managed to get a cwc decryption to work on my system.
2013-06-17 16:40:59 +01:00
Adam Sutton
9e5d3ae933 csa: forgot to add the new CSA wrapper 2013-06-17 14:07:04 +01:00
Adam Sutton
5e03ad3b4e csa: add back in CAT/CA processing 2013-06-17 13:13:49 +01:00
Adam Sutton
d76c1e19f0 csa: added back in SCT_CA processing
This is a bit of a hack really, since its now the only SI data that's
handled as an elementary stream. However I think it has to be that way
else it'll get messy.
2013-06-17 12:54:36 +01:00
Adam Sutton
a686fe34d2 csa: started to rework the descrambling support 2013-06-17 12:38:36 +01:00
Adam Sutton
cf7518d4a7 mpegts: add properties to network/mux for list of children 2013-06-16 22:57:03 +01:00
Adam Sutton
50f2b7ee9a webui: ensure we pick up read-only props for stuff in the grid. 2013-06-16 22:57:02 +01:00
Adam Sutton
a55b7b9bd0 idnode prop: changed to use generic get/set/list methods for properties
This will allow for addition of other type methods without having to add
lots of callbacks, the real prototype can be infered from the property type
2013-06-16 22:57:02 +01:00
Adam Sutton
e37352fc2d linuxdvb: load/save satconf configuration 2013-06-16 13:34:29 +01:00
Adam Sutton
fce73c118a mpegts: one more dvb-s fix, I'm now able to stream from DVB-S! 2013-06-16 13:08:48 +01:00
Adam Sutton
3ab4e5ae5b mpegts: add flag to indicate whether open_service is first time or not
There is some code that requires a mutex only on the first run, this saves
that lock and potentially stops a deadlock.

Really I probably could have added another callback specifically for this
function, but was worried about explosion of functions for every little
element.
2013-06-16 12:45:21 +01:00