Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

If the renderer has not specified a maximum height/width, default to …

…1920x1080
  • Loading branch information...
commit b6be311a76f542c0e8221af198c0740666d3dced 1 parent f5fa7a5
@SubJunk SubJunk authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/net/pms/configuration/RendererConfiguration.java
View
4 src/main/java/net/pms/configuration/RendererConfiguration.java
@@ -712,7 +712,7 @@ public String getCustomMencoderOptions() {
* @return The maximum video width.
*/
public int getMaxVideoWidth() {
- return getInt(MAX_VIDEO_WIDTH, 0);
+ return getInt(MAX_VIDEO_WIDTH, 1920);
}
/**
@@ -722,7 +722,7 @@ public int getMaxVideoWidth() {
* @return The maximum video height.
*/
public int getMaxVideoHeight() {
- return getInt(MAX_VIDEO_HEIGHT, 0);
+ return getInt(MAX_VIDEO_HEIGHT, 1080);
}
public boolean isVideoRescale() {
Please sign in to comment.
Something went wrong with that request. Please try again.