void *(*entry) (void *);
if (caps & V4L2_CAP_STREAMING)
{
- if (StartUserPtr (VLC_OBJECT(demux), fd) == 0)
+ if (0 /* BROKEN */ && StartUserPtr (VLC_OBJECT(demux), fd) == 0)
{
/* In principles, mmap() will pad the length to a multiple of the
* page size, so there is no need to care. Nevertheless with the
assert (block->p_buffer == (void *)buf.m.userptr);
block->i_buffer = buf.length;
- block->i_pts = block->i_dts = mdate ();
+ block->i_pts = block->i_dts = GetBufferPTS (&buf);
block->i_flags |= sys->block_flags;
es_out_Control (demux->out, ES_OUT_SET_PCR, block->i_pts);
es_out_Send (demux->out, sys->es, block);
block_t *block = GrabVideo (VLC_OBJECT(demux), fd, sys->bufv);
if (block != NULL)
{
- block->i_pts = block->i_dts = mdate ();
block->i_flags |= sys->block_flags;
es_out_Control (demux->out, ES_OUT_SET_PCR, block->i_pts);
es_out_Send (demux->out, sys->es, block);