diff -ur -X excl mythtv-vid-18/libs/libmythtv/openglvideo.cpp mythtv-vid-18a/libs/libmythtv/openglvideo.cpp
|
old
|
new
|
|
| 275 | 275 | } |
| 276 | 276 | else |
| 277 | 277 | { |
| 278 | | last_filter = false; |
| 279 | 278 | it->second->outputBuffer = kDefaultBuffer; |
| | 279 | last_filter = false; |
| 280 | 280 | } |
| 281 | 281 | |
| 282 | 282 | buffers_needed = it->second->numInputs; |
| … |
… |
|
| 543 | 543 | } |
| 544 | 544 | |
| 545 | 545 | // locking ok |
| 546 | | void OpenGLVideo::UpdateInputFrame(const VideoFrame *frame) |
| | 546 | void OpenGLVideo::UpdateInputFrame(const VideoFrame *frame, bool soft_bob) |
| 547 | 547 | { |
| 548 | 548 | OpenGLContextLocker ctx_lock(gl_context); |
| 549 | 549 | |
| … |
… |
|
| 560 | 560 | { |
| 561 | 561 | gl_context->UpdateTexture(inputTextures[0], frame->buf, |
| 562 | 562 | frame->offsets, frame->pitches, FMT_YV12, |
| 563 | | frame->interlaced_frame); |
| | 563 | frame->interlaced_frame && !soft_bob); |
| 564 | 564 | inputUpdated = true; |
| 565 | 565 | return; |
| 566 | 566 | } |
diff -ur -X excl mythtv-vid-18/libs/libmythtv/openglvideo.h mythtv-vid-18a/libs/libmythtv/openglvideo.h
|
old
|
new
|
|
| 61 | 61 | bool viewport_control, bool osd = FALSE, |
| 62 | 62 | LetterBoxColour letterbox_colour = kLetterBoxColour_Black); |
| 63 | 63 | |
| 64 | | void UpdateInputFrame(const VideoFrame *frame); |
| | 64 | void UpdateInputFrame(const VideoFrame *frame, bool soft_bob = FALSE); |
| 65 | 65 | void UpdateInput(const unsigned char *buf, const int *offsets, |
| 66 | 66 | int format, QSize size, |
| 67 | 67 | const unsigned char *alpha); |
diff -ur -X excl mythtv-vid-18/libs/libmythtv/videoout_xv.cpp mythtv-vid-18a/libs/libmythtv/videoout_xv.cpp
|
old
|
new
|
|
| 3796 | 3796 | DisplayOSD(frame, osd); |
| 3797 | 3797 | } |
| 3798 | 3798 | |
| | 3799 | bool soft_bob = m_deinterlacing && (m_deintfiltername == "bobdeint"); |
| | 3800 | |
| 3799 | 3801 | if (gl_videochain) |
| 3800 | | gl_videochain->UpdateInputFrame(frame); |
| | 3802 | gl_videochain->UpdateInputFrame(frame, soft_bob); |
| 3801 | 3803 | } |
| 3802 | 3804 | |
| 3803 | 3805 | void VideoOutputXv::ProcessFrameMem(VideoFrame *frame, OSD *osd, |