Skip to content

Commit

Permalink
Enable proper display of elapsed time when paused with VAAPI.
Browse files Browse the repository at this point in the history
Make sure av_pause_frame is updated so that the player can pick up the
current frame number while paused.  Refs #10962
  • Loading branch information
stichnot committed Mar 21, 2013
1 parent f5106e2 commit 841ff3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mythtv/libs/libmythtv/videoout_openglvaapi.cpp
Expand Up @@ -247,6 +247,7 @@ void VideoOutputOpenGLVAAPI::UpdatePauseFrame(int64_t &disp_timecode)
if (vbuffers.Size(kVideoBuffer_used))
{
VideoFrame *frame = vbuffers.Head(kVideoBuffer_used);
CopyFrame(&av_pause_frame, frame);
m_pauseBuffer = frame->buf;
disp_timecode = frame->disp_timecode;
}
Expand Down

0 comments on commit 841ff3a

Please sign in to comment.