I added possibility to define CustomMencoderOptions on renderer level so we can now fix eg. bad AR on TV renderers when transcoding is used, upscaling or enabling deinterlacers differently for every renderer.
Also I added some info for hidden params of Renderer.conf
Please feel free to edit is(typos, missing info, bad english etc.)
Some discussion about this feature which is already implemented in SubJunk builds:
CustomMencoderOptions defined on renderer level added.
Added info to Renderer.conf for hidden params.
Fixed typo(missing #) in PS3.conf
All pro. I've been asked to add this to pms-mlx too
I'll merge it.
Oh, and @ExSport:
Next time you make a pull request, please create a separate branch for every pull request with exactly the code in it that you want us to pull.
I usually create a fresh branch based on the PMS upstream, then cherry-pick my commits onto that, then push that tree to my online repository and create a pull request from there.
Why? Follow up commits are automatically added to the pull request by GitHub.
So if you create a pull request from your own master, over time the pull request will change to more and more changes.
This is what I usually do:
# Only need to add the "upstream" remote repo once.
git remote add upstream git://github.com/ps3mediaserver/ps3mediaserver.git
git checkout -b mencoder-fix remotes/upstream/master
git cherry-pick e1b0139
git push origin mencoder-fix
# Ready to create the pull request!
Second side note: try to keep your commits clean and to the point.
The changed "Panasonic.conf" didn't really have anything to do with adding the ability to defining CustomMencoderOptions on the renderer level.
Ok, quite new on github so thanks for info.
I agree with modifying Panasonic.conf but I did the change due to some bugs/obsolete things there but wasn't able to make Pull request without these modifications. With TortoiseSVN it was very easy to define from which modified files to create .patch file so I was able to exclude some modifs.
Need to read GitHub Help again and again to understand all things here.
This breaks global custom MEncoder options. Defining a property without a value:
returns an empty string, i.e. not null, so the global options are never used.
Fixed in fe41952.
Good catch. Thanks!
Maybe I tested it with and without this property defined so didn't spotted this "empty string" bug:-(