BMDTimeValue stream_time, frame_duration;
videoFrame->GetStreamTime( &stream_time, &frame_duration, 1000000 );
- p_frame->i_pts = stream_time;
+ p_frame->i_pts = stream_time + frame_duration; // FIXME: hack to avoid i_pts=0?
vlc_mutex_lock( &p_sys->frame_lock );
p_sys->p_frame = p_frame; // FIXME: leak