Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
fix memory leak when reloading the application
· 5bc78887
Christophe Massiot
authored
Apr 22, 2017
5bc78887
also remap ONID in EIT
· aa89bb56
Christophe Massiot
authored
Apr 22, 2017
aa89bb56
Hide whitespace changes
Inline
Side-by-side
NEWS
View file @
aa89bb56
Changes between 3.1 and 3.2:
----------------------------
* Fix HEVC support
* Fix memory leak on loading the configuration
* Also remap ONID in EIT
Changes between 3.0 and 3.1:
----------------------------
* Print source address in UDP input
...
...
demux.c
View file @
aa89bb56
...
...
@@ -1417,6 +1417,7 @@ static void SendEIT( sid_t *p_sid, mtime_t i_dts, uint8_t *p_eit )
uint8_t
i_table_id
=
psi_get_tableid
(
p_eit
);
bool
b_epg
=
i_table_id
>=
EIT_TABLE_ID_SCHED_ACTUAL_FIRST
&&
i_table_id
<=
EIT_TABLE_ID_SCHED_ACTUAL_LAST
;
uint16_t
i_onid
=
eit_get_onid
(
p_eit
);
int
i
;
for
(
i
=
0
;
i
<
i_nb_outputs
;
i
++
)
...
...
@@ -1436,11 +1437,17 @@ static void SendEIT( sid_t *p_sid, mtime_t i_dts, uint8_t *p_eit )
else
eit_set_sid
(
p_eit
,
p_output
->
config
.
i_sid
);
if
(
p_output
->
config
.
i_onid
)
eit_set_onid
(
p_eit
,
p_output
->
config
.
i_onid
);
psi_set_crc
(
p_eit
);
OutputPSISection
(
p_output
,
p_eit
,
EIT_PID
,
&
p_output
->
i_eit_cc
,
i_dts
,
&
p_output
->
p_eit_ts_buffer
,
&
p_output
->
i_eit_ts_buffer_offset
);
if
(
p_output
->
config
.
i_onid
)
eit_set_onid
(
p_eit
,
i_onid
);
}
}
}
...
...
dvblast.c
View file @
aa89bb56
...
...
@@ -252,6 +252,7 @@ static void config_strdvb( dvb_string_t *p_dvb_string, const char *psz_string )
dvb_string_clean
(
p_dvb_string
);
p_dvb_string
->
p
=
dvb_string_set
((
uint8_t
*
)
psz_iconv
,
strlen
(
psz_iconv
),
psz_dvb_charset
,
&
p_dvb_string
->
i
);
free
(
psz_iconv
);
}
static
bool
config_ParseHost
(
output_config_t
*
p_config
,
char
*
psz_string
)
...
...
@@ -688,7 +689,7 @@ void usage()
int
main
(
int
i_argc
,
char
**
pp_argv
)
{
const
char
*
psz_network_name
=
"DVBlast -
http://www.
videolan.org
/projects/dvblast.html
"
;
const
char
*
psz_network_name
=
"DVBlast - videolan.org"
;
const
char
*
psz_provider_name
=
NULL
;
char
*
psz_dup_config
=
NULL
;
struct
sched_param
param
;
...
...
@@ -1253,6 +1254,7 @@ int main( int i_argc, char **pp_argv )
comm_Close
();
block_Vacuum
();
ev_loop_destroy
(
event_loop
);
return
EXIT_SUCCESS
;
}