I know that there are true programmers here and I looking for mistake solution.
From xineLib.cpp:
RESULT of cXineLib :: getPTS (pts_t & pts)
{
pts_t* last_pts_l = (pts_t*)vo_port->get_property(vo_port, VO_PROP_LAST_PTS);
pts = *last_pts_l; /* <= crash on *last_pts_l */
if (pts != 0)
return 0;
return -1;
}
It successfully works on Ubuntu 14.04 ... 16.04 but on 17.04 always leads to crash on jump to * last_pts_l. If I run through "valgrind" with any tools, it doesnt see any problems in this place and e2pc doesnt fall.
Temporaly for 17.04:
...
pts_t* last_pts_l = (pts_t*)vo_port->get_property(vo_port, VO_PROP_LAST_PTS);
if (last_pts_l > 0)
return -1;
...
Of course, there is no information about the initial point and no mention of pts, but you can pause in the right place with a double click cycle "pause".
Can I write this function differently?
Edited by 1455, 18 January 2018 - 14:05.