Jump to content

HDHomeRun.cs logic ? tweak?


Vicpa

Recommended Posts

Vicpa

Hi @@Luke,

 

I realize that you haven't had a chance to look at the issue with the HDHR3-CC that I have posted about. Perhaps it is not a model specific issue at all.

 

In my research I think that line is causing my problem.

"var videoCodec = !string.IsNullOrWhiteSpace(GetEncodingOptions().HardwareAccelerationType) ? null : "mpeg2video";

 

The above will only evaluate to "mpeg2video" if encoding is set to auto. which currently means none.

​I have always had my setting at quick sync (qsv).  so it is evaluated to null.

 

with auto you get the codec identified correctly and things that can direct play like the fire work as expected. With "Auto" as the default most users will have the expected experience.

 

Is this check needed ? As a proof of concept I replaced the above with

"var videoCodec =  "mpeg2video";

 

The logic flow in that module is not effected. (it is what auto is doing anyway). The Fire directs plays. and based on the
encode settings either mpeg2video or mpeg2video_qsv decoder is used.

 

I think that is the expected behavior? or am I missing something?

 

When you get a chance can you take a look?

 

Thanks

-Vicpa

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...