Skip to content

Commit

Permalink
Fix 24-bit flac support with tsMuxeR
Browse files Browse the repository at this point in the history
  • Loading branch information
SubJunk committed Mar 6, 2013
1 parent 76f0a23 commit 8516f22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/pms/encoders/TsMuxeRAudio.java
Expand Up @@ -80,7 +80,7 @@ public int type() {
*/
@Override
public boolean isCompatible(DLNAResource resource) {
if (resource == null || resource.getFormat().getType() != Format.AUDIO) {
if (resource == null || resource.getFormat().getType() != Format.VIDEO) {
return false;
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/pms/encoders/TsMuxeRVideo.java
Expand Up @@ -191,8 +191,8 @@ public ProcessWrapper launchTranscode(

String[] flacCmd = new String[] {
configuration.getFfmpegPath(),
"-ar", rate,
"-i", fileName,
"-ar", rate,
"-f", "wav",
"-acodec", depth,
"-y",
Expand Down

0 comments on commit 8516f22

Please sign in to comment.