Skip to content

Commit

Permalink
win d3d: Add reference_frames argument to VideoOutputD3D::InputChanged.
Browse files Browse the repository at this point in the history
See af37064 for the origin of this argument.  Its unclear how to
use this argument given the difference between the windows d3d video
driver and other video drivers.
  • Loading branch information
linuxdude42 committed Nov 24, 2023
1 parent 89c6110 commit c185673
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion mythtv/libs/libmythtv/videoout_d3d.cpp
Expand Up @@ -108,7 +108,8 @@ bool VideoOutputD3D::InputChanged(const QSize &video_dim_buf,
const QSize &video_dim_disp,
float video_aspect,
MythCodecID av_codec_id,
bool &aspect_only)
bool &aspect_only,
int [[maybe_unused]] reference_frames)
{
QMutexLocker locker(&m_lock);

Expand Down
3 changes: 2 additions & 1 deletion mythtv/libs/libmythtv/videoout_d3d.h
Expand Up @@ -31,7 +31,8 @@ class VideoOutputD3D : public MythVideoOutput
const QSize &video_dim_disp,
float video_aspect,
MythCodecID av_codec_id,
bool &aspect_only) override; // VideoOutput
bool &aspect_only,
int reference_frames) override; // VideoOutput
void UpdatePauseFrame(std::chrono::milliseconds &disp_timecode, FrameScanType Scan = kScan_Progressive) override; // VideoOutput
void EmbedInWidget(const QRect &rect) override; // VideoOutput
void StopEmbedding(void) override; // VideoOutput
Expand Down

0 comments on commit c185673

Please sign in to comment.